Quote:
Originally Posted by Grim_
You know that this code will run forever until the player gets out?
pawn Код:
while(IsPlayerInAnyVehicle(playerid)) { GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective); SetVehicleParamsEx(vehicleid, engine, VEHICLE_PARAMS_OFF, alarm, doors, bonnet, boot, objective); SetVehicleParamsEx(vehicleid, engine, VEHICLE_PARAMS_ON, alarm, doors, bonnet, boot, objective); }
|
Mh, thats kinda what I want it to do though, I want the lights to flash on and off, as if it were like a cop car (yeah, I know it goes on and on), but I can't seem to get anything to when when i type /onlights.
Anyways, if I did something wrong, please help me and try to correct it.