Jump to content

rfmx

Members
  • Posts

    3
  • Joined

  • Last visited

rfmx's Achievements

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody. (2/54)

1

Reputation

  1. addCommandHandler("vcp", function() local theVeh = getPedOccupiedVehicle(localPlayer) local x, y, z = getVehicleComponentPosition(theVeh, "wheel_rf_dummy") setVehicleComponentPosition(theVeh, "wheel_rf_dummy", x+0.15, y, z) local x, y, z = getVehicleComponentPosition(theVeh, "wheel_rb_dummy") setVehicleComponentPosition(theVeh, "wheel_rb_dummy", x+0.15, y, z) local x, y, z = getVehicleComponentPosition(theVeh, "wheel_lf_dummy") setVehicleComponentPosition(theVeh, "wheel_lf_dummy", x-0.15, y, z) local x, y, z = getVehicleComponentPosition(theVeh, "wheel_lb_dummy") setVehicleComponentPosition(theVeh, "wheel_lb_dummy", x-0.15, y, z) end ) It is just a simple test script. I thought about using setElementData for vehicles and onClientElementStreamIn for clients to sync it. I'm just not shure if it's a good aproach or is there a better way of doing this.
  2. If these car models you have downloaded don't have custom parts in the model file your only option is to add them by modelling them yourself.
  3. I am using vehicle component functions (for custom visual tuning) but they are client side only. What is the best way to sync vehicle component manipulation (position, visibility) between players?
×
×
  • Create New...