Commands Don't Work
#10

pawn Код:
C:\Program Files\Files2\SA-MP Servers\Cops And Robbers [ORGINAL SERVER]\filterscripts\6.pwn(5) : warning 235: public function lacks forward declaration (symbol "OnPlayerCommandPerformed")
C:\Program Files\Files2\SA-MP Servers\Cops And Robbers [ORGINAL SERVER]\filterscripts\6.pwn(14) : error 017: undefined symbol "str"
C:\Program Files\Files2\SA-MP Servers\Cops And Robbers [ORGINAL SERVER]\filterscripts\6.pwn(15) : error 017: undefined symbol "str"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.


pawn Код:
#include <a_samp>

#define NUB 0xEF5AD9FF

public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(success)
    {
        printf("[COMMAND] The cmd %s was successfull!",cmdtext);
    }
    else
    {
printf("[COMMAND] The cmd %s was wrong.",cmdtext);
format(str,144,"{FF0000} %s was a Wrong Command. Type {00FFFF}/help {FF0000}for available commands.",cmdtext);
SendClientMessage(playerid,NUB,str);
}
return 1;
}
Reply


Messages In This Thread
Commands Don't Work - by BodyBoardVEVO - 14.01.2013, 15:51
Re: Commands Don't Work - by dannyk0ed - 14.01.2013, 15:57
Re: Commands Don't Work - by Diorturato - 14.01.2013, 15:59
Re: Commands Don't Work - by BodyBoardVEVO - 14.01.2013, 16:06
Re: Commands Don't Work - by dannyk0ed - 14.01.2013, 16:08
Re: Commands Don't Work - by BodyBoardVEVO - 14.01.2013, 16:14
AW: Commands Don't Work - by Blackazur - 14.01.2013, 16:17
Re: AW: Commands Don't Work - by BodyBoardVEVO - 14.01.2013, 16:19
AW: Commands Don't Work - by Blackazur - 14.01.2013, 16:19
Re: Commands Don't Work - by BodyBoardVEVO - 14.01.2013, 16:25

Forum Jump:


Users browsing this thread: 1 Guest(s)