natives.DONT REMOVE OBJECT: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
(Add ScriptItem documentation from GTA VC SCM decompile)
 
(Add ScriptItem documentation from GTA VC SCM decompile)
 
Line 4: Line 4:
|type = function
|type = function
|name = natives.DONT_REMOVE_OBJECT
|name = natives.DONT_REMOVE_OBJECT
|parameters = int ped
|parameters = int object
|parameter1 = int ped Target character in the game world.
|parameter1 = int object Object handle to act upon.
|usage = performs the remove object operation.
|usage = prevents the engine from automatically removing this object
|return1 = void
|return1 = void
|returnFail1 = void
|returnFail1 = void
}}
}}

Latest revision as of 09:13, 12 June 2026

natives.DONT_REMOVE_OBJECT

Signature: void natives.DONT_REMOVE_OBJECT(int object)

Usage: prevents the engine from automatically removing this object

Parameters

int object Object handle to act upon.

Return

void

On failure: void