Adding moving gates, help 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)
+--- Thread: Adding moving gates, help please. (
/showthread.php?tid=332774)
Adding moving gates, help please. -
JonesyFoCoTDM - 09.04.2012
When I convert the codes from MTA to SA-MP, it comes out like below:
Код:
CreateObject(969, 1080.9000244141, -1210.5999755859, 16.89999961853, 0, 0, 90);
CreateObject(969, 1080.6999511719, -1203.3000488281, 16.799999237061, 0, 0, 92);
CreateObject(969, 1967, -2189.5, 12.5, 0, 0, 179.99993896484);
CreateObject(969, 1958.5, -2189.6999511719, 12.5, 0, 0, 179.99450683594);
CreateObject(969, 2461.6999511719, -1653.5999755859, 12.300000190735, 0, 0, 269.99996948242);
That's just the code for my gate when it's closed. When I've watched ******* tutorials, they only seem to add one "CreateObject" line, so my question is.. What line?
If I'm completely wrong, I would appreciate it if you could write a little tutorial for me
+REP will be added to any helpers, thanks.