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



Adding objects? - gemadon - 30.07.2009

I want to add a door in an interior, but it keeps coming out sideways and stuff..... this is what I have CreateObject(977,1260.2102,-804.3391,1084.0078,0.000000,0.000000,1260.000000);

The door keeps coming out sideways, can someone help me?


Re: Adding objects? - Joe Staff - 30.07.2009

that last number there is clearly wrong. SA-MP uses a degree calculation for circles, so the max is 360. And that's like 1260 billion times infinity.