lol.com Posted January 17, 2014 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)
3NAD Posted January 17, 2014 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.
DNL291 Posted January 17, 2014 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) Please do not PM me with scripting related question nor support, use the forums instead.
lol.com Posted January 18, 2014 Author Posted January 18, 2014 Thank you guys! It was this same! *---* addEventHandler("onClientResourceStart", resourceRoot, setMyMaxHeight)
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