[Ajuda] ajuda a fazer esse comando
#1

incluindo todos os carros, se o carro tiver trancado quando a pessoa executar o comando /roubarcarro destrancar o carro??

Код HTML:
CMD:roubarcarro(playerid,params[]){
new motor,luzes,alarme,portas,capo,boot,objetivo;
GetVehicleParamsEx(veiculostrancados[GetPlayerVehicleID(playerid)],motor,luzes,alarme,portas,capo,boot,objetivo);
if(portas==VEHICLE_PARAMS_ON){
SetVehicleParamsEx(veiculostrancados[GetPlayerVehicleID(playerid)],false,luzes,alarme,VEHICLE_PARAMS_OFF,capo,boot,objetivo);
}
return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)