Need help with my vehicle lights
#1

Hi everybody !

Today my problem is that i have only one vehicle light which is on when i putt lights on. Screen:



This is the front but in the back, it's on:



Can you help me ?

My Pawno script:

pawn Код:
else if(newkeys == KEY_SUBMISSION)
    {
        if(pState == 2) // En voiture
        {
            new engine,lights,alarm,doors,bonnet,boot,objective;
            new tmpCarId = GetPlayerVehicleID(playerid);
            GetVehicleParamsEx(tmpCarId,engine,lights,alarm,doors,bonnet,boot,objective);
            if(lights == 0)
            {
                  SetVehicleParamsEx(tmpCarId,engine,1,alarm,doors,bonnet,boot,objective);
            }
            else
            {
                  SetVehicleParamsEx(tmpCarId,engine,0,alarm,doors,bonnet,boot,objective);
            }
            return 1;
        }
        else
        {
            return 1;
        }
    }
PS: Sorry for my bad english i'm french so explain in a easy english please

EDIT: Resolved, it was and "UpdateVehicleDamageStatus"
Reply


Messages In This Thread
Need help with my vehicle lights - by Shidony - 20.06.2011, 10:47
Re: Need help with my vehicle lights - by Vince - 20.06.2011, 10:56

Forum Jump:


Users browsing this thread: 1 Guest(s)