how to AddVehicleComponent onvehiclespawn ?
#1

how to AddVehicleComponent onvehiclespawn ?
error undifield symbol playerid .
need help
my english is bad.
Reply
#2

Quote:
Originally Posted by jame20702
how to AddVehicleComponent onvehiclespawn ?
error undifield symbol playerid .
need help
my english is bad.
Change playerid for vehicleid.
Reply
#3

Example Please .
Reply
#4

Use it at GameModeInit()

Warning! You must use valid components or server will crash.
Go here for a list of component ids: https://sampwiki.blast.hk/wiki/Car_Component_ID

Example:
pawn Код:
new tunedcar;//Above main

tunedcar = AddStaticVehicle(....);//Use this at GameModeInit
AddVehicleComponent(tunedcar, ....);//Use this at GameModeInit also
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)