Difference between revisions of "0256"

From GTAMods Wiki
Jump to navigation Jump to search
m
m
Line 15: Line 15:
 
== See also ==
 
== See also ==
 
* {{Icon|t}} [[0117]], checks if the player is dead
 
* {{Icon|t}} [[0117]], checks if the player is dead
* {{Icon|t}} [[0130]], checks if the player is arrested
+
* {{Icon|3}} [[0130]], checks if the player is arrested

Revision as of 05:00, 26 November 2016

GTA III Vice City San Andreas IS_PLAYER_PLAYING


Description
Checks if the player is playing
Syntax
0256:   player [player handle] defined
Parameter
[player handle]
The handle of the player

This conditional opcode returns true if you are playing, i.e. the wasted screen or busted screen does not pop up. It is used throughout the script to check if the player exists before executing code that requires the player to exist.

Keywords

check, player, defined, playing, alive, dead, busted, arrested, exist

See also

  • GTA III Vice City San Andreas 0117, checks if the player is dead
  • GTA III 0130, checks if the player is arrested