20.08.2018, 05:57
do it like this:
PHP код:
if(GetPlayerState(playerid) == PLAYER_STATE_WASTED) return SendClientError(playerid, "You cannot use this command while dead");