vehicle without an engine
#1

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:
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;
}
But when i enter the vehicle i can drive it
Reply


Messages In This Thread
vehicle without an engine - by MatriXgaMer - 28.01.2014, 20:06
Re: vehicle without an engine - by dannyk0ed - 28.01.2014, 20:14

Forum Jump:


Users browsing this thread: 1 Guest(s)