Difference between revisions of "0256"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{OpCode | ini = 0256=1, %1d% | description = Checks if the player is defined | p1 = Player handle | game = GTA3, Vice City, San Andreas | native = [[IS_PLAYE...)
 
Line 7: Line 7:
 
}}
 
}}
 
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.
 +
 +
This opcode and [[0117]] are the same.
  
 
==Keywords==
 
==Keywords==

Revision as of 19:58, 1 January 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.

This opcode and 0117 are the same.

Keywords

player, defined