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
#2

pawn Код:
ManualVehicleEngineAndLights();
Under OnGameModeInit
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)