Help with lights.
#1

I want hel with vehicle light...

if player in vehicle = light on (day,night)
and left ALT light off...
Reply
#2

PHP код:
public OnPlayerEnterVehicle(playeridvehicleidbool:ispassenger)
{
     new 
hourminute;
     
GetPlayerTime(playeridhourminute);
     if(
hour>19 || hour<5)
     {
          new 
enginelightsalarmdoorsbonnetbootobjective;
          
GetVehicleParamsEx(vehicleidenginelightsalarmdoorsbonnetbootobjective);
          
SetVehicleParamsEx(vehicleidengine1alarmdoorsbonnetbootobjective);
    }
    return 
1;

Reply
#3

thank
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)