SA-MP Forums Archive
need help gates - 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: need help gates (/showthread.php?tid=78472)



need help gates - luckie12 - 20.05.2009

hi i need help with gates
does anyone have a gate code?

so yes?

can you make with this coord:

pawn Код:
CreateObject(980, -2078.547363, 1366.869507, 8.874954, 0.0000, 0.0000, 180.0000);
and this coord:

pawn Код:
CreateObject(980, -2064.712158, 1437.047729, 9.372110, 0.0000, 0.0000, 180.0000);
a /opengate and a /closegate command?

plz help

ty alot


Re: need help gates - RenisiL - 20.05.2009

I don't no what open coord and what close coord


Re: need help gates - luckie12 - 20.05.2009

Quote:
Originally Posted by RenisiL
I don't no what open coord and what close coord
hmm? i need a code with that coords for /opengate and /closegate i dont have a close coord ?-


Re: need help gates - Weirdosport - 20.05.2009

The gate is going to move somewhere isn't it... So you need the co-ordinates of its position when it's open and when it's closed...


Re: need help gates - luckie12 - 20.05.2009

Quote:
Originally Posted by Weirdosport
The gate is going to move somewhere isn't it... So you need the co-ordinates of its position when it's open and when it's closed...
and how to do that to make a co-ordinate?


Re: need help gates - Weirdosport - 20.05.2009

Well you go on whatever program you used to get the first set of co-ordinates, slide the gate open and get a new set...


Re: need help gates - luckie12 - 20.05.2009

Quote:
Originally Posted by Weirdosport
Well you go on whatever program you used to get the first set of co-ordinates, slide the gate open and get a new set...
i have used MTA so i must with MTA pick up the gate and place it where he musst go ?


Re: need help gates - Weirdosport - 20.05.2009

You get your gate, select it, press "ctrl + f9", then slide the gate to the open position. Then you'll have 2 gates, one in the open position and one in the closed position...


Re: need help gates - luckie12 - 20.05.2009

Quote:
Originally Posted by Weirdosport
You get your gate, select it, press "ctrl + f9", then slide the gate to the open position. Then you'll have 2 gates, one in the open position and one in the closed position...
ok and than save it?


Re: need help gates - Weirdosport - 20.05.2009

[sarcasm] No then you press alt + f4 [/sarcsm]

Yes you save it, exit, find the .map, use the converter like I assume you've done before, and post the co-ordinates here..Or you could use some initiative, look on the wiki, and find out how to do it yourself. Either that or look on these forums, there must be as many gate scripts as members (51 thousand last time I looked)