Checkpoint problem - 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: Checkpoint problem (
/showthread.php?tid=250835)
Checkpoint problem -
ajwar - 24.04.2011
pawn Код:
vmcheckpoints[abcategory][0][playerid] = CreateDynamicCP(-2049.9878,-127.3140,35.2879, 5, 0, 0, 1,300.0); //1
Why won't this code create a checkpoint?
Re: Checkpoint problem -
ajwar - 25.04.2011
Anyone?
Re: Checkpoint problem -
iggy1 - 25.04.2011
Your only creating it for id 1. So it will only ever be visible to playerid 1. Use -1 for all players like this.
pawn Код:
vmcheckpoints[abcategory][0][playerid] = CreateDynamicCP(-2049.9878,-127.3140,35.2879, 5, 0, 0, -1,300.0); //1
Or you could use "playerid" instead for one player.
Re: Checkpoint problem -
ajwar - 25.04.2011
Thank's