01.02.2016, 16:52
Bir tьrkь burada bu başariyla gцrmek зok gьzel. Başarilar.
C:\Users\: error 029: invalid expression, assumed zero C:\Users\: warning 215: expression has no effect C:\Users\: warning 215: expression has no effect C:\Users\: warning 215: expression has no effect C:\Users\: warning 215: expression has no effect C:\Users\: warning 215: expression has no effect C:\Users\: error 001: expected token: ";", but found ")" C:\Users\: error 029: invalid expression, assumed zero C:\Users\: fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
CMD:vehicle(playerid, params[]) { if(isnull(params)) return SendClientMessage(playerid, 0xE88732FF, "USAGE: {FFFFFF}/vehicle [ores/take]"); if(!strcmp(params, "ores", true)) { new vehicleid = GetNearestVehicleEx(playerid); if(!IsValidVehicle(vehicleid)) return SendClientMessage(playerid, 0xE74C3CFF, "ERROR: {FFFFFF}You're not near any vehicle."); if(!Vehicle_IsMiningVehicle(vehicleid)) return SendClientMessage(playerid, 0xE74C3CFF, "ERROR: {FFFFFF}Vehicle isn't a mining vehicle."); new string[196], title[32]; format(string, sizeof(string), "Name\tAmount\tValue\n"); for(new i; i < MAX_ORE_TYPES; i++) format(string, sizeof(string), "%s%s\t%d\t{2ECC71}$%d\n", string, OreData[i][Name], LoadedOres[vehicleid][i], Vehicle_GetOreValueByType(vehicleid, i)); format(title, sizeof(title), "Loaded Ores {E74C3C}(%d/%d)", Vehicle_LoadedOres(vehicleid), VEHICLE_LIMIT); ShowPlayerDialog(playerid, DIALOG_ORE_INFO, DIALOG_STYLE_TABLIST_HEADERS, title, string, "Close", ""); } else if(!strcmp(params, "take")) { if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE74C3CFF, "ERROR: {FFFFFF}You can't do this in a vehicle."); if(MiningVein[playerid] != -1) return SendClientMessage(playerid, 0xE74C3CFF, "ERROR: {FFFFFF}You're already mining."); if(CarryingOre[playerid] != -1) return SendClientMessage(playerid, 0xE74C3CFF, "ERROR: {FFFFFF}You're already carrying an ore."); new id = GetNearestVehicleEx(playerid); if(!IsValidVehicle(id)) return SendClientMessage(playerid, 0xE74C3CFF, "ERROR: {FFFFFF}You're not near any vehicle."); if(!Vehicle_IsMiningVehicle(id)) return SendClientMessage(playerid, 0xE74C3CFF, "ERROR: {FFFFFF}Vehicle isn't a mining vehicle."); new Float: x, Float: y, Float: z; GetVehicleBoot(id, x, y, z); if(GetPlayerDistanceFromPoint(playerid, x, y, z) > 3.0) return SendClientMessage(playerid, 0xE74C3CFF, "ERROR: {FFFFFF}You're not near the vehicle's back."); new string[196], title[32]; format(string, sizeof(string), "Name\tAmount\n"); for(new i; i < MAX_ORE_TYPES; i++) format(string, sizeof(string), "%s%s\t%d\n", string, OreData[i][Name], LoadedOres[id][i]); format(title, sizeof(title), "Loaded Ores {E74C3C}(%d/%d)", Vehicle_LoadedOres(id), VEHICLE_LIMIT); ShowPlayerDialog(playerid, DIALOG_ORE_TAKE, DIALOG_STYLE_TABLIST_HEADERS, title, string, "Take", "Close"); } return 1; }
\pawno\include\evf.inc(89) : fatal error 111: user error: [ADM] This include requires SA:MP version 0.3.7
how i can fix this? my version is 0.3.7, so what the hell? |
You need update a_samp.inc
|