CheckPoints dont respond!
#1

I'm trying to create a checkpoint system but when I compile it, It works and when i went in game to test my checkpoints they did not send the message I told it to in PAWN it just disabled and showed the next checkpoint my code is below.

Код:
public OnPlayerEnterCheckpoint(playerid)
{
    if(checkpoint[playerid] == 1)
    {
        DisablePlayerCheckpoint(playerid);
        checkpoint[2] = SetPlayerCheckpoint(playerid, 1459.9420, 2773.4541, 10.8203, 5.0);
        SendClientMessage(playerid,COLOR_YELLOW, "This is a test checkpoint!");
        return 1;

    }
    if(Tutcheckpoint[playerid] == 2)
    {
        SendClientMessage(playerid,COLOR_YELLOW, "Another Test Checkpoint!");
    }
    return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
	return 1;
}
Reply
#2

same happened with me then i used Dynamic Checkpoints, Streamer Plugin, they are waaay much better than these ones! try them im dam sure it will work ..
Streamer:
https://sampforum.blast.hk/showthread.php?tid=102865

hope it helps..
Reply
#3

Quote:
Originally Posted by XtremeR
Посмотреть сообщение
same happened with me then i used Dynamic Checkpoints, Streamer Plugin, they are waaay much better than these ones! try them im dam sure it will work ..
Streamer:
https://sampforum.blast.hk/showthread.php?tid=102865

hope it helps..
Alright So use Dynamic checkpoints?
Reply
#4

Thanks my problem was solved but since they are dynamic is there a way I could like make the checkpoint show from a certain distance?
Reply
#5

yes u gotta learn the dynamic checkpoints
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)