SA-MP Forums Archive
[HELP]how to script moveable gate with code? - 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: [HELP]how to script moveable gate with code? (/showthread.php?tid=249331)



[HELP]how to script moveable gate with code? - Aizen - 18.04.2011

How to script moveable gate with code like /gate [code]

gate open:CreateObject(980, 282.48919677734, -1320.2890625, 49.119674682617, 0, 0, 34);

gate close:CreateObject(980, 282.48919677734, -1320.2890625, 55.619674682617, 0, 0, 34);


Re: [HELP]how to script moveable gate with code? - Stigg - 18.04.2011

https://sampforum.blast.hk/showthread.php?tid=37271


Re: [HELP]how to script moveable gate with code? - Aizen - 18.04.2011

Not,i dont need Automatic gate,i need how to script moveable gate with code like this

/gate 9871


Re: [HELP]how to script moveable gate with code? - Stigg - 18.04.2011

Quote:
Originally Posted by Aizen
Посмотреть сообщение
Not,i dont need Automatic gate,i need how to script moveable gate with code like this

/gate 9871
This should get you statred:

https://sampwiki.blast.hk/wiki/MoveObject

You already got:

pawn Код:
gateopen = CreateObject(980, 282.48919677734, -1320.2890625, 49.119674682617, 0, 0, 34);

gateclose = CreateObject(980, 282.48919677734, -1320.2890625, 55.619674682617, 0, 0, 34);