Spawn cars with lights turned on
#2

pawn Код:
OnGameModeInit()
{
    SetTimer("Lights",1000,1);
}
forward Lighs();
public Lights()
{
        new engine,lights,alarm,doors,bonnet,boot,objective;
        for(new i = 0;i<MAX_VEHICLES;i++)
    {
             GetVehicleParamsEx(i,engine,lights,alarm,doors,bonnet,boot,objective);
             if(lights == false)
             {
                  GetVehicleParamsEx(i,engine,true,alarm,doors,bonnet,boot,objective);
             }
             else if(lights == true)
             {
                  GetVehicleParamsEx(i,engine,false,alarm,doors,bonnet,boot,objective);
             }
        }
}
Reply


Messages In This Thread
Spawn cars with lights turned on - by Dripac - 12.11.2013, 19:10
Re: Spawn cars with lights turned on - by Marshall32 - 12.11.2013, 19:21
AW: Spawn cars with lights turned on - by Dripac - 12.11.2013, 19:25
Re: Spawn cars with lights turned on - by erminpr0 - 12.11.2013, 21:42
AW: Spawn cars with lights turned on - by Dripac - 13.11.2013, 15:02
AW: Spawn cars with lights turned on - by Dripac - 13.11.2013, 15:26
Re: Spawn cars with lights turned on - by DanishHaq - 13.11.2013, 15:30
AW: Spawn cars with lights turned on - by Dripac - 13.11.2013, 15:33
Re: Spawn cars with lights turned on - by DanishHaq - 13.11.2013, 15:34
AW: Spawn cars with lights turned on - by Dripac - 13.11.2013, 15:38

Forum Jump:


Users browsing this thread: 4 Guest(s)