Help Unknow command
#8

Quote:
Originally Posted by pds2012
Посмотреть сообщение
Here you go

pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(!success)
    {
         return SendClientMessage(playerid,-1,"{FF0000}Unknown command {FFFFFF}type /c for commands");
    }
    return 1;
}
that wont work.

you have to forward it first:
pawn Код:
forward OnPlayerCommandPerformed(playerid, cmdtext[], success)
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(!success) return SendClientMessage(playerid,-1,"{FF0000}Unknown command {FFFFFF}type /c for commands");

}
Reply


Messages In This Thread
Help Unknow command - by kalanerik99 - 16.03.2013, 15:25
Re: Help Unknow command - by Patrick - 16.03.2013, 15:28
Re: Help Unknow command - by Krakuski - 16.03.2013, 15:31
Re: Help Unknow command - by kalanerik99 - 16.03.2013, 15:32
Re: Help Unknow command - by kamzaf - 16.03.2013, 15:34
Re: Help Unknow command - by kalanerik99 - 16.03.2013, 17:20
Re: Help Unknow command - by Patrick - 16.03.2013, 17:21
Re: Help Unknow command - by kamzaf - 16.03.2013, 17:28

Forum Jump:


Users browsing this thread: 1 Guest(s)