Posts: 220
Threads: 62
Joined: Aug 2009
How to add a tuned car into the server?
Posts: 3,351
Threads: 780
Joined: Jan 2010
Place this at the top (under the server includes)
1) Create the vehicle under OnGameModeInit using this
Look here:
https://sampwiki.blast.hk/wiki/AddStaticVehicle
After this line (once the vehicle has been created, maybe at the end of OnGameModeInit) you can use this
pawn Код:
AddVehicleComponent(tuner,1010); // You added nitro x 10 to your vehicle "tuner"
https://sampwiki.blast.hk/wiki/AddVehicleComponent