Quote:
Originally Posted by MicroKyrr
Also,
PHP код:
public OnPlayerCommandReceived(playerid, cmdtext[])
{
if(Isplayerdeath == 1)
{
SendClientMessage(playerid, -1, "Please respawn first before typing any command!");
return 0;
}
return 1;
}
|
That's also what Player_InClassSelection(playerid) does in my example code.
See the comments.