Jump to content

[HELP] Runcode


GrubaS

Recommended Posts

Posted

2000 probably shouldn't be a string and do you have "veh" defined? Otherwise there's nothing wrong with it.

Btw. i suggest using srun as that makes output invisible to other players.

Posted

Why did you remove vehicle? And you didn't change the number to int...

I asked if you had 'veh' defined...

Try this:

setVehicleHandling(getPedOccupiedVehicle(getPlayerFromName("yournick")), "mass", 2000) 

Replace yournick by your nick obviously..

Posted

Np,

If you want to use 'veh' you have to define it:

veh = getPedOccupiedVehicle(getPlayerFromName("yournick")) 

And then use veh instead of that function.

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