tim260 Posted July 4, 2011 Share Posted July 4, 2011 im very new to scripting so i dont understand it ive red lots of stuff on the wiki but i cant get it, so the only thing i want is that this object : <object id="object (sfcopdr) (1)" doublesided="false" model="10184" interior="0" dimension="0" posX="1679.0732421875" posY="377.91595458984" posZ="31.688905715942" rotX="0" rotY="0" rotZ="251.99993896484" /> ( the SF cop garage door ) is going to move ( The door is placed at a little self made base ) so i saw i have to use Moveobject and that kind of stuff and i want it to open with a command ( like : /open base ) is that possible and one thing how do i insert my own object for example a base logo thanks in advance for helping or explaining me Link to comment
NotAvailable Posted July 4, 2011 Share Posted July 4, 2011 Here you go, You will have to edit it first. I used a marker instead of a cuboid cause a marker is easier. Client-side: local enterGate = createObject(986, -485.47979736328, -562.69256591797, 26.231700897217, 0, 0, 180) local marker = createMarker(-485.14093017578,-564.14202880859,24.534646987915,"Cylinder", 7, 255, 0, 0, 0) function gates() moveObject(enterGate, 1000, -478.47052001953, -562.66644287109, 26.231700897217) end addEventHandler("onClientMarkerHit", marker, gates) function close() moveObject(enterGate, 1000, -485.47979736328, -562.69256591797, 26.231700897217) end addEventHandler("onClientMarkerLeave", marker, close) BTW: https://wiki.multitheftauto.com/wiki/Scr ... troduction it helped me ALOT Link to comment
tim260 Posted July 4, 2011 Author Share Posted July 4, 2011 Where and what do i edit because ive read the totural but because im not from america im from the netherlands ( you to i think ? ) i dont understand everything very well Link to comment
Jaysds1 Posted July 5, 2011 Share Posted July 5, 2011 He said that he used the marker instead of the cuboid (an invisible circle), when the player enters the cuboid then the gate opens and if the player leaves it the gate closes. Change the Marker to a cuboid. Link to comment
tim260 Posted July 8, 2011 Author Share Posted July 8, 2011 Ok i got the gates thing now i downloaded loginregister_system.zip from the resources and i keep getting this : [2011-07-08 14:03:04] CONNECT: tim connected (IP: 5.134.93.4 Serial: A7C3EBE70D89B0C635253353DBFCCA54 Version: 1.0.5-9.02560.0) [2011-07-08 14:03:10] JOIN: tim joined the game (IP: 5.134.93.4) [2011-07-08 14:03:20] WARNING: loginregister_system\login_server.lua:35: Access denied @ 'addAccount' [2011-07-08 14:03:20] WARNING: loginregister_system\login_server.lua:36: Bad argument @ 'logIn' [2011-07-08 14:03:22] WARNING: loginregister_system\login_server.lua:35: Access denied @ 'addAccount' [2011-07-08 14:03:22] WARNING: loginregister_system\login_server.lua:36: Bad argument @ 'logIn' [2011-07-08 14:03:39] LOGIN: (Admin, Everyone) tim successfully logged in as 'tim260' (IP: 5.134.93.4 Serial: A7C3EBE70D89B0C635253353DBFCCA54) [2011-07-08 14:03:49] QUIT: tim left the game [Quit] the server cant create account ive adde this : <group name="Admin"> <acl name="Moderator" /> <acl name="SuperModerator" /> <acl name="Admin" /> <acl name="RPC" /> <object name="user.tim260" /> <object name="resource.admin" /> <object name="resource.webadmin" /> <object name="resource.loginregister_system" /> </group> so ive added the recourse to admin ( but sometimes it disappears from file ) but still it isnt working can someone explane me what i do wrong Link to comment
Jaysds1 Posted July 8, 2011 Share Posted July 8, 2011 (edited) You just downloaded it and loged in, and it shows there is an error. Get my login gui, it has an option whether to add a Background or not, all the details are in the Description. Edited: Thanks qaisjp Edited July 8, 2011 by Guest Link to comment
qaisjp Posted July 8, 2011 Share Posted July 8, 2011 URL Fail Jay, didnt close the starting part and made incorrect ending part. 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