SA-MP Forums Archive
check ID - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: check ID (/showthread.php?tid=68566)



check ID - Schock - 11.03.2009

hey i need to know how can i give a checkpoint something like a ID
pawn Код:
Turismo = SetPlayerCheckpoint(playerid, -1539.262817, 133.987518, 2.613937, 8);

public OnPlayerEnterCheckpoint(playerid)
{
   if (checkpoint == Turismo)
   {
   .....
   }
}
it dont work ... nothing happes if i enter the checkpoint


Re: check ID - GTA_Rules - 11.03.2009

Quote:

public OnPlayerEnterCheckpoint(playerid)
{
new currentveh;
currentveh = GetPlayerVehicleID(playerid);
{
// Do something here
}
}
return 1;
}

Try this


Re: check ID - Schock - 11.03.2009

i mean something like this ...
a player enter a checkpoint and a special action start ... then the checkpoint disable and a other checkpoint created after 30 seconds (i have the code) i only need to know how i can do it like after the first checkpoint disabled and the next checkpoint spawn a other action start (other action as the first point) if you enter the point


Re: check ID - Schock - 11.03.2009

sorry but i need really help please