Jump to content

Syncing Scripts?


Recommended Posts

Posted

Hey there

I'm doubting how to do this. When I addupgrade to cars with commands, people don't see it, also when I create a ramp nobody sees it, only me or the one who spawned it, how can I fix this?

Thanks in advice,

Mark.

Posted

You probably created client-side script that's why other players can't see your ramps.

Posted

If you're using addVehicleUpgrade() for example, it works both client and server side. I imagine if you issue it client-side, your car will be upgraded for you to see but no-one else. Try changing your code so that the calls to addVehicleUpgrade() etc. are made server-side which will sync the vehicle mod across all clients.

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