Jump to content

faster


Recommended Posts

Posted

The script is set as server side on meta.xml?

Also, I read somewhere that you can't set aircraft handling, I could be wrong though.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

post the meta.xml

" Keep Thinking Different . " - Steve Jops

--------------------

Don't send me PMs asking for help, I Won't reply !

Posted
>    name="Faster and Faster" author="EHID" description="Let your cars go faster" version="1.0" type="script" />    ="faster_s.lua" type="server" />>

" Keep Thinking Different . " - Steve Jops

--------------------

Don't send me PMs asking for help, I Won't reply !

Posted

car

-- Banshee -- (270km/h) 
function handlingChange1 (theVehicle1, seat) 
    if getElementModel(theVehicle1) == 429 and seat == 0 then 
        setVehicleHandling(theVehicle1, "maxVelocity", 270) 
        setVehicleHandling(theVehicle1, "engineAcceleration", 20) 
        setVehicleHandling(theVehicle1, "suspensionLowerLimit", 0) 
        setVehicleHandling(theVehicle1, "driveType", "awd") 
         setVehicleHandling(theVehicle1, "handlingFlags", 0x1008801) 
    end 
end 
addEventHandler ( "onPlayerVehicleEnter", getRootElement(), handlingChange1 ) 
  
  
  
  

Posted

Well, I tested it and it seems like it worked.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

nope but i have change something and now it goes 330 km/h and if i do it lower it still will be 330 km/h

-- Banshee -- (270km/h) 
function handlingChange1 (theVehicle1, seat) 
    if getElementModel(theVehicle1) == 429 and seat == 0 then 
        setVehicleHandling(theVehicle1, "maxVelocity", 200) 
        setVehicleHandling(theVehicle1, "engineAcceleration", 20) 
        setVehicleHandling(theVehicle1, "suspensionLowerLimit", 0) 
        setVehicleHandling(theVehicle1, "driveType", "awd") 
         setVehicleHandling(theVehicle1, "handlingFlags", 0x1008801) 
    end 
end 
addEventHandler ( "onPlayerVehicleEnter", getRootElement(), handlingChange1 ) 
  
  
  
  

Posted

I didn't understand

" Keep Thinking Different . " - Steve Jops

--------------------

Don't send me PMs asking for help, I Won't reply !

Posted

i have changed this :

setVehicleHandling(theVehicle1, "maxVelocity", 200)

setVehicleHandling(theVehicle1, "engineAcceleration", 20)

but now the car will go 330 km/h and if i change it to normal how i made it, than the will also 330 km/h

Posted

I have restart the server and it was normal 180 km/h than i have changed it to a high number

-- Banshee -- (270km/h) 
function handlingChange1 (theVehicle1, seat) 
    if getElementModel(theVehicle1) == 429 and seat == 0 then 
        setVehicleHandling(theVehicle1, "maxVelocity", 2700000) 
        setVehicleHandling(theVehicle1, "engineAcceleration", 50000) 
        setVehicleHandling(theVehicle1, "suspensionLowerLimit", 0) 
        setVehicleHandling(theVehicle1, "driveType", "awd") 
         setVehicleHandling(theVehicle1, "handlingFlags", 0x1008801) 
    end 
end 
addEventHandler ( "onPlayerVehicleEnter", getRootElement(), handlingChange1 ) 
  
  
  
  

and now it will go 180 km/h

Posted

The max velocity is: 200000.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

You don't understand, the velocity you set is too high, the max is 200,000.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

i have done this now, and the car still go 180 km/h and this is not more than 200,000 now ;)

-- Banshee -- (270km/h) 
function handlingChange1 (theVehicle1, seat) 
    if getElementModel(theVehicle1) == 429 and seat == 0 then 
        setVehicleHandling(theVehicle1, "maxVelocity", 2000) 
        setVehicleHandling(theVehicle1, "engineAcceleration", 500) 
        setVehicleHandling(theVehicle1, "suspensionLowerLimit", 0) 
        setVehicleHandling(theVehicle1, "driveType", "awd") 
         setVehicleHandling(theVehicle1, "handlingFlags", 0x1008801) 
    end 
end 
addEventHandler ( "onPlayerVehicleEnter", getRootElement(), handlingChange1 ) 
  
  
  
  

Posted

I don't know how you are testing it , but I tested it and it goes far more than 180km/h.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

And entered a Banshee?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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