Lock all commands with a variable without enter return msg
#7

Quote:
Originally Posted by MicroKyrr
Посмотреть сообщение
Also,

PHP код:
public OnPlayerCommandReceived(playeridcmdtext[])
{
    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.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)