3 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)
+--- Thread: 3 errors (
/showthread.php?tid=309226)
3 errors -
MR,Mr - 06.01.2012
C:\Users\Joe\Desktop\samp\gamemodes\CJ-SumoRoam.pwn(247) : warning 217: loose indentation
C:\Users\Joe\Desktop\samp\gamemodes\CJ-SumoRoam.pwn(247) : error 029: invalid expression, assumed zero
C:\Users\Joe\Desktop\samp\gamemodes\CJ-SumoRoam.pwn(247) : error 004: function "pirateship" is not implemented
C:\Users\Joe\Desktop\samp\gamemodes\CJ-SumoRoam.pwn(24
: error 001: expected token: ";", but found "return"
C:\Users\Joe\Desktop\samp\gamemodes\CJ-SumoRoam.pwn(24
: warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.
------------------Lines------------------------------------------------------
239|public OnPlayerEnterCheckpoint(playerid)
240|{
241| for(new i=GetMaxPlayers()-1; i >=0; i--)
242| {
243| if(IsPlayerInRangeOfPoint(i,110.9, 2000.6461,1543.8600,13.5859))
244| GivePlayerMoney(i,250);
245| SendClientMessage(i,0xFFFFFFFF,"You have Seized Control of the Pirate Ship!");
246| }
247| public pirateship()
248| return 1;
249|}
Re: 3 errors -
[ABK]Antonio - 06.01.2012
it would be just pirateship();
Re: 3 errors -
MR,Mr - 06.01.2012
that makes more errors apparently it goes anywhere outside other callbacks but that don't mean anything to me
Re: 3 errors -
MR,Mr - 06.01.2012
RESOLVED