Changing Unknow Command
#7

Quote:
Originally Posted by doreto
Посмотреть сообщение
if he have big gamemode on each command he must put ""SendClientMessage(playerid, COLOR,"Bad command, do /help to see all avaible commands");"" bether choise is like Tee say
PHP код:
public OnPlayerCommandPerformed(playeridcmdtext[], success)
{
    if(!
success)return SendClientMessage(playerid,-1,"That command does not exist, please use /help or /cmds.");
    return 
1;

Tee's is zcmd, Xyrex use default OnPlayerCommandText. They're different.
Reply


Messages In This Thread
Changing Unknow Command - by ServerScripter - 17.09.2011, 15:13
Re: Changing Unknow Command - by =WoR=Varth - 17.09.2011, 15:15
Re: Changing Unknow Command - by Tee - 17.09.2011, 15:16
Re: Changing Unknow Command - by Xyrex - 17.09.2011, 15:27
Re: Changing Unknow Command - by ServerScripter - 17.09.2011, 16:40
Re: Changing Unknow Command - by doreto - 17.09.2011, 16:48
Re: Changing Unknow Command - by =WoR=Varth - 17.09.2011, 16:53
Re: Changing Unknow Command - by Xyrex - 17.09.2011, 16:57

Forum Jump:


Users browsing this thread: 3 Guest(s)