When Vehicle(don't Boats) in water then vehicle lights don't off or on,if Lights on then they stay on(SetVehicleParamsEx don't work on Lights) similarly when they off...Please Fix it...
p.s. And how to create particles
Код:
if(!strcmp(cmdtext, "/lighton", true))
{
new engine,lights,alarm,doors,bonnet,boot,objective;
new vid = GetPlayerVehicleID(playerid);
GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(vid,engine,1,alarm,doors,bonnet,boot,objective);
}
if(!strcmp(cmdtext, "/lightoff", true))
{
new engine,lights,alarm,doors,bonnet,boot,objective;
new vid = GetPlayerVehicleID(playerid);
GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(vid,engine,0,alarm,doors,bonnet,boot,objective);
return 1;
}
.
I don't get you, when vehicles have their lights on when they fall into the water they won't be able to change anymore is that the point you're trying to make?