Jump to content

exchange script server for client..


lol.com

Recommended Posts

Posted

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) 

4Diqv
Posted

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.

Posted

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.

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