Difference between revisions of "01C2"

From GTAMods Wiki
Jump to navigation Jump to search
Line 6: Line 6:
 
| native      = [[MARK_CHAR_AS_NO_LONGER_NEEDED]]
 
| 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.
+
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. This opcode is only needed when the character is spawned ([[009A]], etc.) or grabbed from the streets ([[02DD]], etc.). This opcode is not needed for any other cases. Using this with disregard will cause problems with other scripts trying to recognize the same character.
  
 
==Keywords==
 
==Keywords==
 
remove, reference, references, actor, character
 
remove, reference, references, actor, character

Revision as of 18:18, 7 November 2010

{{{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. This opcode is only needed when the character is spawned (009A, etc.) or grabbed from the streets (02DD, etc.). This opcode is not needed for any other cases. Using this with disregard will cause problems with other scripts trying to recognize the same character.

Keywords

remove, reference, references, actor, character