06.08.2013, 13:34
Olб pessoal, primeiramente bom dia estou com um problema em um code para ligar/desligar os farуis do veiculo:
Poderiam me ajudar com esse problema?
Код:
CMD:ligarf(playerid, params []) { new engine, lights, alarm, doors, bonnet, boot, objective; GetVehicleParamsEx(playerid, engine, lights, alarm, doors, bonnet, boot, objective); SetVehicleParamsEx(playerid, engine,1, alarm, doors, bonnet, boot, objective); //liga o farol c tiver desligado return 1; } CMD:desligarf(playerid, params []) { new engine, lights, alarm, doors, bonnet, boot, objective; GetVehicleParamsEx(playerid, engine, lights, alarm, doors, bonnet, boot, objective); SetVehicleParamsEx(playerid, engine,0, alarm, doors, bonnet, boot, objective);// desliga o farol c tiver ligado return 1; }