SA-MP Forums Archive
I Keep Getting these errors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I Keep Getting these errors (/showthread.php?tid=167880)



I Keep Getting these errors - GOSIMP - 14.08.2010

Код:
C:\Users\Adrian\Desktop\SAMP SERVER\gamemodes\first.pwn(142) : error 010: invalid function or declaration
C:\Users\Adrian\Desktop\SAMP SERVER\gamemodes\first.pwn(146) : error 010: invalid function or declaration
C:\Users\Adrian\Desktop\SAMP SERVER\gamemodes\first.pwn(148) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Here are the Lines :

Код:
if (strcmp(cmdtext, "/boxing", true) == 0)
    {
        SetPlayerFightingStyle (playerid, FIGHT_STYLE_BOXING);
        SendClientMessage(playerid, COLOR_RED, "You have changed your fighting style to boxing!");
        return 1;
    }
    return 0;
}



Re: I Keep Getting these errors - Carlton - 14.08.2010

pawn Код:
if (strcmp(cmdtext, "/boxing", true) == 0)
{
   
        SetPlayerFightingStyle (playerid, FIGHT_STYLE_BOXING);
        SendClientMessage(playerid, COLOR_RED, "You have changed your fighting style to boxing!");
        return 1;

}