03.08.2011, 02:47
Hello...
lines...
Код:
D:\a\gamemodes\GM.pwn(656) : error 017: undefined symbol "foreach" D:\a\gamemodes\GM.pwn(659) : error 017: undefined symbol "i" D:\a\gamemodes\GM.pwn(659) : error 017: undefined symbol "i" D:\a\gamemodes\GM.pwn(660) : error 017: undefined symbol "i" D:\a\gamemodes\GM.pwn(661) : error 017: undefined symbol "i" D:\a\gamemodes\GM.pwn(664) : error 017: undefined symbol "i" D:\a\gamemodes\GM.pwn(667) : error 017: undefined symbol "i" D:\a\gamemodes\GM.pwn(668) : error 017: undefined symbol "i" D:\a\gamemodes\GM.pwn(672) : error 017: undefined symbol "i" D:\a\gamemodes\GM.pwn(673) : error 017: undefined symbol "i" D:\a\gamemodes\GM.pwn(676) : error 017: undefined symbol "i" D:\a\gamemodes\GM.pwn(680) : error 017: undefined symbol "i" D:\a\gamemodes\GM.pwn(685) : error 017: undefined symbol "i" D:\a\gamemodes\GM.pwn(687) : error 017: undefined symbol "i" D:\a\gamemodes\GM.pwn(692) : error 017: undefined symbol "i" D:\a\gamemodes\GM.pwn(695) : error 017: undefined symbol "i" D:\a\gamemodes\GM.pwn(696) : error 017: undefined symbol "i" D:\a\gamemodes\GM.pwn(699) : error 017: undefined symbol "i" D:\a\gamemodes\GM.pwn(701) : error 017: undefined symbol "i" D:\a\gamemodes\GM.pwn(704) : error 017: undefined symbol "i" D:\a\gamemodes\GM.pwn(706) : error 017: undefined symbol "i" D:\a\gamemodes\GM.pwn(709) : error 017: undefined symbol "i" D:\a\gamemodes\GM.pwn(711) : error 017: undefined symbol "i" D:\a\gamemodes\GM.pwn(713) : error 017: undefined symbol "i" D:\a\gamemodes\GM.pwn(715) : error 017: undefined symbol "i" D:\a\gamemodes\GM.pwn(719) : error 017: undefined symbol "i" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
Код:
if (GetPVarInt(i, "AFK") == 1) TextDrawShowForPlayer(i, afk); else TextDrawHideForPlayer(i, afk); if (IsPlayerInAnyVehicle(i)) { new Float:X, Float:Y, Float:Z; GetPlayerPos(i, X, Y, Z); // FUEL format(szString, 40, "Fuel:~w~ %d", Gas[GetPlayerVehicleID(i)]); TextDrawSetString(TD_0[i], szString); // DIST new Float:Dist; Dist = GetDistanceBetweenPoints(X, Y, Z, IslandX[i], IslandY[i], IslandZ[i]); if (GetPVarInt(i, "Flight") > 0 || GetPVarInt(i, "Work") > 0) { format(szString, 40, "DIST:~w~ %d", floatround(Dist, floatround_round)); TextDrawSetString(TD_4[i], szString); } else { TextDrawSetString(TD_4[i], "DIST:~w~ None"); } // DMG new Float:HP; GetVehicleHealth(GetPlayerVehicleID(i), HP); format(szString, 40, "DMG:~w~ %d", floatround(HP, floatround_round)); TextDrawSetString(TD_3[i], szString); // ALT format(szString, 40, "ALT:~w~ %d", floatround(Z, floatround_ceil)); TextDrawSetString(TD_5[i], szString); // VEHICLE format(szString, 40, "VEH:~w~ %s", GetVehicleFriendlyName(GetPlayerVehicleID(i))); TextDrawSetString(TD_6[i], szString); // STATUS if (GetPVarInt(i, "Work") > 0) { TextDrawSetString(TD_7[i], "Status:~w~ Work"); } if (GetPVarInt(i, "Flight") == 1) { TextDrawSetString(TD_7[i], "Status:~w~ On Route"); } if (GetPVarInt(i, "Flight") == 0) { if (GetPVarInt(i, "Work") == 0) { if (IsAirVehicle(GetPlayerVehicleID(i))) { TextDrawSetString(TD_7[i], "Status:~w~ Flying"); } else { TextDrawSetString(TD_7[i], "Status:~w~ None");