How to switch lights on/off??
#1

Hi there,

I'm making a fs, and i don't know how to turn on lights, when i turn them on, they does not flash until i get out of the car, if anyone can help me, please do it. . .thanks
Reply
#2

Sloved
Reply
#3

Код:
if (playerState == PLAYER_STATE_PASSENGER)
{
     GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective);
     SetVehicleParamsEx(veh,engine,VEHICLE_PARAMS_OFF,alarm,doors,bonnet,boot,objective);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)