DynamicCP parameters - 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: DynamicCP parameters (
/showthread.php?tid=464534)
DynamicCP parameters -
AnonScripter - 17.09.2013
pawn Код:
CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
What's the meaning of making worldid , interiorid and playerid -1 or 0, what's the difference ?
Re: DynamicCP parameters -
-=Dar[K]Lord=- - 17.09.2013
Making playerid 0 or more than 0 sets the cp for that player not for other players....
worldid = -1 is just roughly taken so that you can change it accordingly same happens with interior id
You can change the world of Checkpoint ,interior of checkpoint and you can set the checkpoint for a player by
CreateDynamicCP