Carsurf problem
#2

Hey!

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);
}
Also, this page in Wiki might help ya!!
https://sampwiki.blast.hk/wiki/Category:...tions#Vehicles
Reply


Messages In This Thread
Carsurf problem - by Blunt P - 05.02.2012, 11:00
Re: Carsurf problem - by Twisted_Insane - 05.02.2012, 11:18
Re: Carsurf problem - by Babul - 05.02.2012, 11:26
Re: Carsurf problem - by Twisted_Insane - 05.02.2012, 11:29
AW: Carsurf problem - by Blunt P - 05.02.2012, 12:17
Re: Carsurf problem - by milanosie - 05.02.2012, 12:35
AW: Carsurf problem - by Blunt P - 05.02.2012, 12:37
Re: Carsurf problem - by milanosie - 05.02.2012, 12:41
Re: Carsurf problem - by Babul - 05.02.2012, 12:45
AW: Carsurf problem - by Blunt P - 05.02.2012, 13:11

Forum Jump:


Users browsing this thread: