Difference between revisions of "01C2"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
<code>01C2=1,%1d%</code><br>
+
{{OpCode
'''Description''': Removes references to an actor<br>
+
| ini        = 01C2=1,%1d%
'''Parameter 1''': Actor ID<br>
+
| description = Removes references to an actor
'''Supports''': GTA3, Vice City, San Andreas<br>
+
| p1          = Actor handle
 
+
| game        = GTA3, Vice City, San Andreas
This opcode will make the actor into a random ped. The code will no longer recognize the actor as part of the code. If you want the actor to disappear after it dies or after you are finished with it, use this opcode to make it into a random ped so it will disappear like a random ped.<br>
+
| native      = [[MARK_CHAR_AS_NO_LONGER_NEEDED]]
 +
}}
 +
This opcode will mark the character as no longer needed and turn it into a random ped. The character will no longer be recognized as part of the code. If you want your character to disappear after it dies or after you are finished with it, use this opcode to make it into a random ped so it will disappear like a random ped.
  
 
==Keywords==
 
==Keywords==
remove, reference, references, actor
+
remove, reference, references, actor, character
 
 
[[Category:OpCodes]]
 

Revision as of 19:29, 5 January 2009

{{{games}}}


Description
Removes references to an actor
Syntax
{{{syntax1}}}
Parameter
Native analog
MARK_CHAR_AS_NO_LONGER_NEEDED

This opcode will mark the character as no longer needed and turn it into a random ped. The character will no longer be recognized as part of the code. If you want your character to disappear after it dies or after you are finished with it, use this opcode to make it into a random ped so it will disappear like a random ped.

Keywords

remove, reference, references, actor, character