Difference between revisions of "0256"
Jump to navigation
Jump to search
(page updates) |
m |
||
Line 1: | Line 1: | ||
− | {{Icon|t}} | + | {{OpCode |
− | + | | games = {{Icon|t}} | |
− | + | | command = IS_PLAYER_PLAYING | |
− | + | | description = Checks if the player is playing | |
− | + | | syntax1 = 0256: player [''player handle''] defined | |
− | + | | p1t = [''player handle''] | |
− | + | | p1d = The [[0053|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 | + | 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 == | == Keywords == | ||
Line 15: | Line 14: | ||
== See also == | == See also == | ||
− | * [[0117]], checks if the player is dead | + | * {{Icon|t}} [[0117]], checks if the player is dead |
− | * [[0130]], checks if the player is arrested | + | * {{Icon|t}} [[0130]], checks if the player is arrested |
− | |||
− |
Revision as of 16:32, 4 June 2016
- 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