Engine problem
#1

How come when player enters a vehicle it shows engine are off but the engines are on when i start driving. after when i did /engine it said you have started your engines so i get out my car and enter again and it says your engine are off

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    new vid = GetPlayerVehicleID(playerid);
    if(vEngine[vid] == 0)
    {
        SendClientMessage(playerid,orange,"That vehicle engine is off, use /engine to turn it on");
        vEngine[vid] = 0;
        SetVehicleParamsEx(vid, 0, lights, false, doors, bonnet, boot, objective);
    }
    return 1;
}
Reply


Messages In This Thread
Engine problem - by Tanush123 - 13.11.2011, 22:03
Re: Engine problem - by Pharrel - 13.11.2011, 22:08
Re: Engine problem - by Tanush123 - 13.11.2011, 22:27

Forum Jump:


Users browsing this thread: 1 Guest(s)