checkpoint is not disabled
#1

Im always used to code with streamer plugin and i had no problem with dynamic cps.
This time i wanted to use normal cps

pawn Код:
public OnPlayerLeaveCheckpoint(playerid)
{
    DisablePlayerCheckpoint(playerid);
    return 1;
}
I disabled it but it is still appearing, however it has no effect and doesnt send me a client message when i enter ( as it is supposed to do before disabling)
help?

EDIT: This is how i set the checkpoint


pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == ZPickup[TEST])
    {
        ZCP[TEST] = SetPlayerCheckpoint(playerid, 710.0447,1959.1855,5.5391, 5.00);
    }
    return 1;
}
Reply
#2

SetPlayerCheckPoint doesn't return any value.

Anyway, try a debug in both Leave/Enter Checkpoint callbacks.
Reply
#3

okey
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)