Error 025 please help
#1

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
Reply
#2

Dude you cant change name of public it have to be only public OnPlayerLeaveCheckpoint(playerid)
Reply
#3

Ok then do the script for me then
Reply
#4

lol just simply use this if(CPS1) { your code bla bla }
Reply
#5

+ rep thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)