14.01.2014, 11:38
estou com erros nesses comandos alguem pode concertar pra mim ?
Quote:
if (strcmp("/motoron", cmdtext, true, 10) == 0) { new mot, lu, alar, por, cap, porma, ob; new carro = GetPlayerVehicleID(playerid); if(carro != INVALID_VEHICLE_ID) { if(motor[playerid] == 0) { GetVehicleParamsEx(carro, mot, lu, alar, por, cap, porma, ob); SetVehicleParamsEx(carro, VEHICLE_PARAMS_ON, lu, alar, por, cap, porma, ob); motor[playerid] = 1; SendClientMessage(playerid, 0xFFFFFFAA, "Veiculo {2F991A}Ligado!"); } } } if (strcmp("/motoroff", cmdtext, true, 10) == 0) { new mot, lu, alar, por, cap, porma, ob; new carro = GetPlayerVehicleID(playerid); if(carro != INVALID_VEHICLE_ID) { if(motor[playerid] == 1) { GetVehicleParamsEx(carro, mot, lu, alar, por, cap, porma, ob); SetVehicleParamsEx(carro, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); motor[playerid] = 0; SendClientMessage(playerid, 0xFFFFFFAA, "Veiculo {E31919}Desligado!"); } } } |
Quote:
C:\Users\360°\Desktop\Servidor de SAMP\CODANDO NOVO GM\gamemodes\PlayFacil.pwn(2298 ![]() C:\Users\360°\Desktop\Servidor de SAMP\CODANDO NOVO GM\gamemodes\PlayFacil.pwn(2298 ![]() C:\Users\360°\Desktop\Servidor de SAMP\CODANDO NOVO GM\gamemodes\PlayFacil.pwn(2298 ![]() C:\Users\360°\Desktop\Servidor de SAMP\CODANDO NOVO GM\gamemodes\PlayFacil.pwn(2298 ![]() C:\Users\360°\Desktop\Servidor de SAMP\CODANDO NOVO GM\gamemodes\PlayFacil.pwn(2298 ![]() Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |