Jump to content

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


montenegro11

Recommended Posts

Posted

COMMAND WORKS SCRIPT WORKS, IF THERE IS A WAY TO MOVE IT ON THE LEFT JUST A LITTLE BIT LIKE NOT A FULL NUMBER BUT LIKE A HALF OF THE NUMBER SO IT LOOKS REALISTIC EVEN THOU IT GOES THROUGH GROUND

Posted (edited)

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
Posted
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.

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...