28.01.2014, 20:06
Hey guys i made an Vehicle Without an Engine.(i am trying to do it xD)
I get no errors here is my on player enter vehicle:
But when i enter the vehicle i can drive it
I get no errors here is my on player enter vehicle:
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(IsPlayerInVehicle(playerid, RentAuto[0]))
{
SetVehicleParamsEx(RentAuto[0], 0, 0, 0, 0, 0, 0, 0);
AutmobilKomponenti[RentAuto[0]][Motor]--;
AutmobilKomponenti[RentAuto[0]][Svetla]--;
}
return 1;
}