GetPlayerState

From NPC for VCMP 0.4 Servers
Revision as of 16:20, 1 April 2022 by Habi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Description:
Gets the state of the specified player.


Parameters:

playerid


Return Values:
This function does not return any specific values.


Example

if( GetPlayerState( id ) == PLAYER_STATE_WASTED )
    print(" The player "+ id + " is not spawned!" );