[Incognito] How to make a checkpoint only for 1 player. - 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: [Incognito] How to make a checkpoint only for 1 player. (
/showthread.php?tid=238574)
[Incognito] How to make a checkpoint only for 1 player. -
[BKR]LUCAGRABACR - 12.03.2011
When I create a checkpoint with Incognito streamer it shows to all players online, how to make it visible to a or some players only? Any idea?.
Re: [Incognito] How to make a checkpoint only for 1 player. -
Tommy_Mandaz - 12.03.2011
Код:
SetPlayerCheckpoint(playerid, X, Y, Z, checkpoint size)
Re: [Incognito] How to make a checkpoint only for 1 player. -
Farsek - 12.03.2011
pawn Код:
native CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);
CreateDynamicCP(X, Y, Z, Size, -1, -1, playerid); //put at OnPlayerConnect or w/e you want
or
CreateDynamicCP(X, Y, Z, Size, .playerid=playerid);