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


Messages In This Thread
CheckPoints dont respond![Unsolved]! - by sgtjones12 - 21.11.2012, 12:27
Re: CheckPoints dont respond! - by XtremeR - 21.11.2012, 12:39
Re: CheckPoints dont respond! - by sgtjones12 - 21.11.2012, 13:01
Re: CheckPoints dont respond! - by sgtjones12 - 21.11.2012, 13:17
Re: CheckPoints dont respond! - by XtremeR - 21.11.2012, 14:00

Forum Jump:


Users browsing this thread: 1 Guest(s)