0256

From GTAMods Wiki
Revision as of 17:20, 29 July 2015 by Spaceeinstein (talk | contribs) (page updates)
Jump to navigation Jump to search

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 codes that requires the player to exist.

Keywords

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

See also

  • 0117, checks if the player is dead
  • 0130, checks if the player is arrested