Server: Unknown Command
#3

Quote:
Originally Posted by DaRk_RaiN
Посмотреть сообщение
A lot of ways to do it, here's an easy one
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(!success) SendClientMessage(playerid, COLOR_RED, "bla bla use /cmds");
    return 1;
}
thanks that helped me too!

If you didn't know how to do it

here is a tutorial:

1.Copy this and paste it under "public OnPlayerCommandText(playerid, cmdtext[])"
2.If you get this error "serverfile\gamemodes\test25.pwn(101) : error 017: undefined symbol "COLOR_RED""
just replace "COLOR_RED" with the colour code you want
3.Compile it with the Blue arrow up
and you are done!
Reply


Messages In This Thread
Server: Unknown Command - by megamind2067 - 29.12.2012, 14:48
Re : Server: Unknown Command - by DaRk_RaiN - 29.12.2012, 15:12
Re: Re : Server: Unknown Command - by mariolatif741 - 29.12.2012, 15:26
Re: Server: Unknown Command - by [CG]Milito - 29.12.2012, 15:46
Re: Server: Unknown Command - by Mr.Anonymous - 29.12.2012, 16:14

Forum Jump:


Users browsing this thread: 1 Guest(s)