14.09.2018, 14:11
Quote:
It's working if I removed " GetPlayerState(playerid) " functions.
but if I added it, it's still working but the format won't appear. |
PHP код:
stock bool:IsPlayerSpawned(playerid)
{
new pState = GetPlayerState(playerid);
return 0 <= playerid < MAX_PLAYERS && pState != PLAYER_STATE_NONE && pState != PLAYER_STATE_WASTED && pState != PLAYER_STATE_SPECTATING;
}