OnVehicleSpawn
#2

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(vehicleid ==  tunned1 || vehicleid ==  tunned2 )//And So On
    {
        new engine, lights, alarm, doors, bonnet, boot, objective;
        GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
        SetVehicleParamsEx(vehicleid, false, lights, alarm, doors, bonnet, boot, objective);
    }
    return 1;
}
Reply


Messages In This Thread
OnVehicleSpawn - by CaTaLinU - 25.08.2012, 06:56
Re: OnVehicleSpawn - by [MM]RoXoR[FS] - 25.08.2012, 07:10
Re: OnVehicleSpawn - by CaTaLinU - 25.08.2012, 07:12
Re: OnVehicleSpawn - by Universal - 25.08.2012, 07:17
Re: OnVehicleSpawn - by CaTaLinU - 25.08.2012, 07:20
Re: OnVehicleSpawn - by [MM]RoXoR[FS] - 25.08.2012, 07:25
Re: OnVehicleSpawn - by CaTaLinU - 25.08.2012, 07:33

Forum Jump:


Users browsing this thread: 1 Guest(s)