Difference between revisions of "0256"

From GTAMods Wiki
Jump to navigation Jump to search
(I don't get how they're the same)
Line 3: Line 3:
 
| description = Checks if the player is defined
 
| description = Checks if the player is defined
 
| p1          = Player handle
 
| p1          = Player handle
| game        = GTA3, Vice City, San Andreas
+
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
 
| native      = [[IS_PLAYER_PLAYING]]
 
| native      = [[IS_PLAYER_PLAYING]]
 
}}
 
}}
This checks if the player is defined. The player is not defined when the player dies or gets busted. It is used throughout the script to check if the player exists before executing codes that requires the player to exist.
+
This checks if the player is defined. The player is not defined when the player dies or gets busted. It is used throughout the script to check if the player exists before executing codes that requires the player to exist. Use [[0117]] to check if the player is specifically wasted.
 
 
This opcode and [[0117]] are the same.
 
  
 
==Keywords==
 
==Keywords==
player, defined
+
player, defined, wasted, dead, busted, arrested
 
 
[[Category:OpCodes]]
 

Revision as of 09:02, 15 December 2009

{{{games}}}


Description
Checks if the player is defined
Syntax
{{{syntax1}}}
Parameter
Native analog
IS_PLAYER_PLAYING

This checks if the player is defined. The player is not defined when the player dies or gets busted. It is used throughout the script to check if the player exists before executing codes that requires the player to exist. Use 0117 to check if the player is specifically wasted.

Keywords

player, defined, wasted, dead, busted, arrested