WolverinZ Posted May 19, 2013 Share Posted May 19, 2013 I want a door that goes underground after entering a code. Sorry for my english, i use google Link to comment
iPrestege Posted May 19, 2013 Share Posted May 19, 2013 createObject addCommandHandler moveObject You need these function and welcome to the MTA Forum .. . Link to comment
WolverinZ Posted May 19, 2013 Author Share Posted May 19, 2013 pls make a full script i cant do it. Link to comment
iPrestege Posted May 19, 2013 Share Posted May 19, 2013 Here we don't make a scripts for people we help people to fix the script errors..etc . Link to comment
ViRuZGamiing Posted May 19, 2013 Share Posted May 19, 2013 I can help you with a Command Gate, is this good? What is your original Language? German? I need the Coordinates X,Y,Z for the Gate Link to comment
supergonkas Posted May 19, 2013 Share Posted May 19, 2013 i am going to help you a little bit not give you the full script this should help you function createTheGate () Thegat = createObject ( gateid, x, y, z, rx, ry, rz ) --here are the original cordinates when gate is closed,which creat the gate end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate ) --this means when you start the resource the gate will be created function openMyGate ( ) moveObject ( Thegate, 2500, x, y, z ) -- the command open end addCommandHandler("youchose",openMyGate) -- the command that opens function closeMyGate () moveObject ( Thegat, 2500, x, y, z ) --the original coordinats end addCommandHandler("youchose2",closeMyGate) --the command that closes Link to comment
iPrestege Posted May 19, 2013 Share Posted May 19, 2013 Yes, we know you are a professional, but why not let him try? To learn? Link to comment
WolverinZ Posted May 19, 2013 Author Share Posted May 19, 2013 thanks help, my language Hungary! Link to comment
supergonkas Posted May 19, 2013 Share Posted May 19, 2013 (edited) i am not a professional , and i once didnt knew how to did this simple stuff but Prestege is right you should try to learn by yourself so check this out https://forum.multitheftauto.com/viewtopic.php?f=148&t=40809 try do it and if you need help post it here Edited May 19, 2013 by Guest Link to comment
Castillo Posted May 19, 2013 Share Posted May 19, 2013 thanks help, my language Hungary! Maybe it would be easier for you to go to the hungarian section and speak on your native language: viewforum.php?f=168 Link to comment
ViRuZGamiing Posted May 19, 2013 Share Posted May 19, 2013 I sended you a full script (TESTED) in PM Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now