05.02.2012, 11:18
Hey!
First of all, you gotta check if the player is IN the vehicle, little example, used from GetPlayerVehicleID:
Also, this page in Wiki might help ya!!
https://sampwiki.blast.hk/wiki/Category:...tions#Vehicles
First of all, you gotta check if the player is IN the vehicle, little example, used from GetPlayerVehicleID:
pawn Код:
new vehicle;
vehicle = GetPlayerVehicleID(playerid);
if(vehicle > 0)
{
AddVehicleComponent(vehicle, 1010);
}
https://sampwiki.blast.hk/wiki/Category:...tions#Vehicles

