SA-MP Forums Archive
Can anyone explain this code please - 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: Can anyone explain this code please (/showthread.php?tid=156248)



Can anyone explain this code please - ls200 - 21.06.2010

mygate = CreateObject(object_ID, closed_X, closed_Y, closed_Z, closed_rad_X, closed_rad_Y, closed_rad_Z);

what does the closed_radx/y/z means for? adding automatic gates atm


Re: Can anyone explain this code please - MadeMan - 21.06.2010

They mean rotation. You can set them to 0 if you don't need them.


Re: Can anyone explain this code please - ls200 - 21.06.2010

oh ok, thanks.