[y_commands] /help command.
#4

You're talking about OnPlayerCommandReceived, but for some reason i can't find any wiki documentation about it..
pawn Код:
public OnPlayerCommandReceived(playerid, cmdtext[])
{
    if(LoggedIn[playerid] ==0)return SendClientMessage(playerid,-1,"you need to login to try a command");
    if(Var[playerid] ==0)return SendClientMessage(playerid,-1,"the command you typed stopped here and didn't get performed");
    return 1;//This call back returns 1.
}
Reply


Messages In This Thread
[y_commands] /help command. - by introzen - 28.06.2013, 20:42
Re: [y_commands] /help command. - by DaRk_RaiN - 28.06.2013, 20:44
Re: [y_commands] /help command. - by introzen - 28.06.2013, 21:04
Re: [y_commands] /help command. - by DaRk_RaiN - 28.06.2013, 21:10
Re: [y_commands] /help command. - by introzen - 28.06.2013, 21:12
Re: [y_commands] /help command. - by introzen - 28.06.2013, 21:21
Re: [y_commands] /help command. - by introzen - 29.06.2013, 07:34

Forum Jump:


Users browsing this thread: 1 Guest(s)