30.12.2018, 16:30
Eu fiz isso mais continua.
os 4 erros estгo na mesma linha. Que й essa:
Code:
if(Rotas[playerid] != 1) { new Truck = GetPlayerVehicleID(playerid); if(GetVehicleModel(Truck) != 403) return SendClientMessage(playerid, -1, "{FF0040}Esse nгo й o caminhгo da empresa."); if(IsTrailerAttachedToVehicle(Truck)) return SendClientMessage(playerid, -1, "{FF0040}Vocк nгo carregou seu caminhгo!"); if(!IsPlayerInRangeOfPoint(playerid, 10.0, -1021.5939, -664.9120, 32.0078)) return SendClientMessage(playerid, Azul_Marinho, "Nгo estб na area de carregamento"); new trailerc = GetVehicleTrailer(Truck); DetachTrailerFromVehicle(trailerc); SetVehicleToRespawn(trailerc); SendClientMessage(playerid, -1, "{FF0000}Caminhгo descarregado no deposito de drogas"); SendClientMessage(playerid, -1, "{FF0000}Pagamento: {00ff00}$2000"); GivePlayerMoney(playerid, 2000); RemovePlayerMapIcon(playerid, 24); DisablePlayerCheckpoint(playerid); Rotas[playerid] = 0; }
Code:
if(Rotas[playerid] != 1)