Jump to content

Help me, a small problem but Idk how to fix it


montenegro11

Recommended Posts

Yes, and thank you a fudgin lot dude i can't say enough words to thank you, I know the basics of scripting and as you can see, without you I COULDN'T DO BLOODY THING and thank you is there any thing with which I can thank you?

Edit:

gate = createObject ( 980, 2404.8999023438, -1658, 15, 0, 0, 90 ) 
  
function gateOpen ( ) 
    moveObject ( gate, 2000, 2403, -1658, 7 ) 
end 
addCommandHandler ( "gso", gateOpen ) 
  
function gateClose ( ) 
    moveObject ( gate, 2000, 2403, -1658, 15 ) 
end 
addCommandHandler ( "gsc", gateClose ) 

Fully working gates, thanks to you!

Edited by Guest
Link to comment
gate = createObject ( 980, 2404.8999023438, -1659, 15, 0, 0, 90 ) 
  
function gateOpen ( ) 
    moveObject ( gate, 2000, 2404.8999023438, -1659, 7 ) 
end 
addCommandHandler ( "gso", gateOpen ) 
  
function gateClose ( ) 
    moveObject ( gate, 2000, 2404.8999023438, -1659, 15 ) 
end 
addCommandHandler ( "gsc", gateClose ) 

Final version of gate. Works perfectly, I'm so happy, and I've surprised my friend, he's happy aswell, oh my god I'm so glad.

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...