CheckPoints dont respond! - 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: CheckPoints dont respond! (
/showthread.php?tid=394150)
CheckPoints dont respond![Unsolved]! -
sgtjones12 - 21.11.2012
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;
}
Re: CheckPoints dont respond! -
XtremeR - 21.11.2012
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..
Re: CheckPoints dont respond! -
sgtjones12 - 21.11.2012
Quote:
Originally Posted by XtremeR
|
Alright So use Dynamic checkpoints?
Re: CheckPoints dont respond! -
sgtjones12 - 21.11.2012
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?
Re: CheckPoints dont respond! -
XtremeR - 21.11.2012
yes u gotta learn the dynamic checkpoints