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



Make sphere. - audriuxxx - 10.03.2014

Hi,

How to make sphere of lights? i want to make sphere, of player, i will use

GetPlayerPos(playerid,X,Y,Z);

But i don't know how much i need to create object, i will use 19283 object, i mean how much need X+..., Y+.... because when i do this i always get square


Re: Make sphere. - PowerPC603 - 10.03.2014

You'll have to use sin & cos calculations for that, it should be basic math for everyone.