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



CreateDynamicCylinder - Banditukas - 19.08.2014

Hi,

I want to ask.

Maybe anyone have this function example? how it works.


Re: CreateDynamicCylinder - humphrey - 19.08.2014

That function doesn't exist.


Re: CreateDynamicCylinder - Banditukas - 19.08.2014

Exist.


Re: CreateDynamicCylinder - Vince - 19.08.2014

I'll take you know what a cylinder looks like. It's like a dynamic circle, except that it takes into account the z-axis (height).


Re: CreateDynamicCylinder - MicroD - 19.08.2014

CreateDynamicCylinder is part of streamer plugin which you can get here:
https://sampforum.blast.hk/showthread.php?tid=102865
More about cylinder: http://mathworld.wolfram.com/Cylinder.html
And this is native function which you will have included in streamer.inc:
Код:
native CreateDynamicCylinder(Float:x, Float:y, Float:minz, Float:maxz, Float:size, worldid = -1, interiorid = -1, playerid = -1);
Код:
Float:x = position x
Float:y = position y
Float:minZ = minimal height
Float:maxZ = maximal height
Float:size = radius?