Tuned Car
#1

How to add a tuned car into the server?
Reply
#2

Place this at the top (under the server includes)

pawn Код:
new tuner;
1) Create the vehicle under OnGameModeInit using this

pawn Код:
tuner = AddStaticVehicle
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)