Whats wrong?
#10

Your code is FINE

Add this under OnGameModeInit()
pawn Код:
ManualVehicleEngineAndLights();
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(ispassenger == 0)
    {
     new engine, lights, alarm, doors, bonnet, boot, objective;
     GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
     SetVehicleParamsEx(vehicleid, 1,   lights,    alarm, doors, bonnet, boot, objective);
    }
    return 1;
}
Reply


Messages In This Thread
Whats wrong? - by Vizi - 01.08.2012, 20:01
Re: Whats wrong? - by Vizi - 01.08.2012, 20:16
Re: Whats wrong? - by Vizi - 01.08.2012, 20:30
Re: Whats wrong? - by Misiur - 01.08.2012, 20:37
Re: Whats wrong? - by Vizi - 01.08.2012, 20:39
Re: Whats wrong? - by Misiur - 01.08.2012, 20:48
Re: Whats wrong? - by Vizi - 01.08.2012, 20:52
Re: Whats wrong? - by Vizi - 02.08.2012, 07:27
Re: Whats wrong? - by Misiur - 02.08.2012, 08:43
Re: Whats wrong? - by [MM]RoXoR[FS] - 02.08.2012, 09:57

Forum Jump:


Users browsing this thread: 2 Guest(s)