lol.com Posted January 17, 2014 Share Posted January 17, 2014 Hello guy's ,i need a little help from someone, I would trade a code server to client, someone could help me? height = 2000 --put Your Height Here function setMyMaxHeight() setAircraftMaxHeight(height) end addEventHandler("onResourceStart", resourceRoot, setMyMaxHeight) Link to comment
3NAD Posted January 17, 2014 Share Posted January 17, 2014 I don't know what do you want exactly. but i think you need to change your event: from "onResourceStart" to "onClientResourceStart". * use [lua] to put codes. Link to comment
DNL291 Posted January 17, 2014 Share Posted January 17, 2014 Do you want to change that code to the clientside? If so: height = 2000 --put Your Height Here function setMyMaxHeight() setAircraftMaxHeight(height) end addEventHandler("onClientResourceStart", resourceRoot, setMyMaxHeight) Link to comment
lol.com Posted January 18, 2014 Author Share Posted January 18, 2014 Thank you guys! It was this same! *---* addEventHandler("onClientResourceStart", resourceRoot, setMyMaxHeight) 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