SA-MP Forums Archive
CreateDynamicCP - 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: CreateDynamicCP (/showthread.php?tid=411659)



CreateDynamicCP - megamind2067 - 29.01.2013

Can someone please tell me how to use CreateDynamicCP?

what I mean is: SendClientMessage(playerid, color, text);

I need the underlined stuff for CreateDynamicCP()


Re: CreateDynamicCP - Roach_ - 29.01.2013

pawn Код:
native CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
What do you not understand?


Re: CreateDynamicCP - Threshold - 29.01.2013

If you mean parameters... they are as follows:
Код:
native CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
As shown, all streamer functions and callbacks are listed in this topic: https://sampforum.blast.hk/showthread.php?tid=102865

Код:
Float:x = The 'X' coordinate where you want your checkpoint to be placed
Float:y = The 'Y' coordinate where you want your checkpoint to be placed
Float:z = The 'Z' coordinate where you want your checkpoint to be placed
Float:size = The size of your checkpoint, in diameter
worldid = The virtual world ID that you want this checkpoint to be in (-1 for all virtual worlds)
interiorid = The interior ID that you want this checkpoint to be in (-1 for all interiors)
playerid = The player ID that you want this checkpoint to be available for (-1 for all players)
Float:streamdistance = The distance you want the checkpoint to be able to be seen from



Re: CreateDynamicCP - megamind2067 - 29.01.2013

Quote:
Originally Posted by Roach_
Посмотреть сообщение
pawn Код:
native CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
What do you not understand?
I dont even know where you got that but thanks all

sincerely Noob scripter | Pro Mapper


Re: CreateDynamicCP - Threshold - 29.01.2013

Perhaps... from the thread where it was originally created...

https://sampforum.blast.hk/showthread.php?tid=102865