Error 025 please help - 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: Error 025 please help (
/showthread.php?tid=454506)
Error 025 please help -
Mennims - 29.07.2013
Here
pawn Код:
public OnPlayerLeaveCheckpoint(playerid, CPiD)
{
if(CPiD == CPS1)
{
SendClientMessage(playerid, 0x00FF007A, "Failed to capture zone");
GangZoneStopFlashForAll(ZONE_RIFA);
GangZoneStopFlashForAll(ZONE_MAFIA);
SendClientMessageToAll(0x00FF007A, "Zone not captured");
KillTimer(timer);
Checkpoint[playerid] = 0;
}
return 1;
}
Line public OnPlayerLeaveCheckpoint(playerid, CPiD) is 996
Line 996 is giving error 025
I have tried adding stock and forwarding it
Re: Error 025 please help -
dEcooR - 29.07.2013
Dude you cant change name of public it have to be only public OnPlayerLeaveCheckpoint(playerid)
Re: Error 025 please help -
Mennims - 29.07.2013
Ok then do the script for me then
Re: Error 025 please help -
dEcooR - 29.07.2013
lol just simply use this if(CPS1) { your code bla bla }
Re: Error 025 please help -
Mennims - 29.07.2013
+ rep thanks