steadyfi Posted February 5, 2014 Share Posted February 5, 2014 Hello ! I'm SWYTeaXSG and today ill show you how to make a basic gate script. If you have problems or fixes to it please leave you script in the comments ! local gate = createObject(id,x,y,z, 0, 0, rotation ) function open() moveObject(gate, milisec, z,y,z, 0, 0, rotation ) end addCommandHandler("open (password)", open) function close() moveObject(gate, milisec, z,y,z, 0, 0, rotation ) end addCommandHandler("close (password)", close) I hope it helped ! I only want to help people to make a base on a server ! Link to comment
Castillo Posted February 5, 2014 Share Posted February 5, 2014 That's not a tutorial at all. Link to comment
manve1 Posted February 5, 2014 Share Posted February 5, 2014 It's not a Tutorial (as Solidsnake14 said), as a tutorial contains information how each/main functions work. Another thing that is wrong is that it's not a password, it's a command, a password would be when you hit for example a marker a gui pops up and you have to type the password in an edit box, then hit a button for it to load, if fail for example jail or kick or whatever, but as I said, this is a command, not a password protection (even if you change: '(password)' to random numbers/letters) Link to comment
myonlake Posted February 6, 2014 Share Posted February 6, 2014 In addition, the code itself doesn't make any sense at all, therefore I suggest no one will try the code in hopes of creating a gate with a password... Link to comment
Recommended Posts