GetPlayerState

From NPC for VCMP 0.4 Servers
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!" );