Witam, stworzyłem owy hud:
public PokazInformacje(id, qid, pid) { id -= ZADANIE_POKAZ_INFORMACJE; if(is_user_alive(id) && ArrayGetCell(g_QuestsProgress[pid], qid) >= ArrayGetCell(g_QuestsTarget, qid) && !ArrayGetCell(g_QuestsStatus[pid], qid) && is_user_connected(pid) && ArrayGetCell(g_QuestsGot[pid], qid)) { new iQuestName[32]; ArrayGetString(g_QuestsName, qid, iQuestName, 31); set_hudmessage(0, 160, 0, 0.75, 0.25, 0, 6.0, 1.0) ShowSyncHudMsg(id, info, "^n[Quest: %s | %0.2f%%]", iQuestName), float(fArrayGetCell(g_QuestsProgress[id], qid))/float(ArrayGetCell(g_QuestsTarget, qid)) * 100.0); } }
Lecz podczas kompilacji wywala błedy:
Welcome to the AMX Mod X 1.8.1-300 Compiler. Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team Error: Undefined symbol "fArrayGetCell" on line 116 Error: Invalid expression, assumed zero on line 116 Warning: Expression has no effect on line 116 Warning: Loose indentation on line 435 Error: Undefined symbol "YELLOW" on line 627 Warning: Loose indentation on line 627 Warning: Expression has no effect on line 627 Warning: Expression has no effect on line 627 Warning: Expression has no effect on line 627 Error: Expected token: ";", but found ")" on line 627 Error: Invalid expression, assumed zero on line 627 Error: Too many error messages on one line on line 627 Compilation aborted. 6 Errors. Could not locate output file C:\Users\Rafał\Desktop\testowo.amx (compile failed).
Plugin daje w załączniku.
Załączone pliki
Użytkownik 1stADXionC edytował ten post 30.07.2015 13:01