new pInfo[MAX_PLAYERS][info];enum Info{Adminszint,};
COMMAND:login(playerid, params[]){GetPlayerName(playerid, PlayerName, sizeof(PlayerName));if(IsLogged[playerid] == 0){ new password[64]; if(sscanf(params, \"s[64]\", password)) return SendClientMessage(playerid,0xFF0000AA,\"Használat: /login [jelszó]\"); else { format(file, sizeof(file), \"%s.ini\", PlayerName); if(dini_Exists(file)) { if(strval(dini_Get(file, \"Jelszó\")) == udb_hash(password)) { if(dini_Int(file, \"Bannolva-e\") == 1) { SendClientMessage(playerid, COLOR_RED, \"Te bannolva vagy!\"); }else{ pInfo[playerid][Adminszint] = dini_Int(file,\"Adminszint\"); IsLogged[playerid] = 1; SendClientMessage(playerid,0xFF0000AA,\"Sikeresen bejelentkeztél!\"); TogglePlayerControllable(playerid, 1); } } else { SendClientMessage(playerid,0xFF0000AA,\"HIBA: Rossz jelszó!\"); } } else { SendClientMessage(playerid,0xFF0000AA,\"HIBA: Elõször regisztrálj! /register\"); } }}else{ SendClientMessage(playerid,0xFF0000AA,\"HIBA: Te már bejelentkeztél!\");}return 1;}
F:\\Users\\Szõke\\Desktop\\samp03e_svr_win32\\gamemodes\\falvacskakrpg.pwn(32) : error 017: undefined symbol \"Info\"F:\\Users\\Szõke\\Desktop\\samp03e_svr_win32\\gamemodes\\falvacskakrpg.pwn(32) : error 009: invalid array size (negative, zero or out of bounds)F:\\Users\\Szõke\\Desktop\\samp03e_svr_win32\\gamemodes\\falvacskakrpg.pwn(610) : warning 213: tag mismatchF:\\Users\\Szõke\\Desktop\\samp03e_svr_win32\\gamemodes\\falvacskakrpg.pwn(782) : warning 203: symbol is never used: \"ret_memcpy\"Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 2 Errors.
enum Info{Adminszint};
enum Info{Adminszint};new pInfo[MAX_PLAYERS][info];
#pragma unused ret_memcpy
new pInfo[MAX_PLAYERS][info];enum Info{Adminszint,};COMMAND:login(playerid, params[]){GetPlayerName(playerid, PlayerName, sizeof(PlayerName));if(IsLogged[playerid] == 0){ new password[64]; if(sscanf(params, \"s[64]\", password)) return SendClientMessage(playerid,0xFF0000AA,\"Használat: /login [jelszó]\"); else { format(file, sizeof(file), \"%s.ini\", PlayerName); if(dini_Exists(file)) { if(strval(dini_Get(file, \"Jelszó\")) == udb_hash(password)) { if(dini_Int(file, \"Bannolva-e\") == 1) { SendClientMessage(playerid, COLOR_RED, \"Te bannolva vagy!\"); }else{ pInfo[playerid][Adminszint] = dini_Int(file,\"Adminszint\"); IsLogged[playerid] = 1; SendClientMessage(playerid,0xFF0000AA,\"Sikeresen bejelentkeztél!\"); TogglePlayerControllable(playerid, 1); } } else { SendClientMessage(playerid,0xFF0000AA,\"HIBA: Rossz jelszó!\"); } } else { SendClientMessage(playerid,0xFF0000AA,\"HIBA: Elõször regisztrálj! /register\"); } }}else{ SendClientMessage(playerid,0xFF0000AA,\"HIBA: Te már bejelentkeztél!\");}return 1;}Errorok:[code]F:\\Users\\Szõke\\Desktop\\samp03e_svr_win32\\gamemodes\\falvacskakrpg.pwn(32) : error 017: undefined symbol \"Info\"F:\\Users\\Szõke\\Desktop\\samp03e_svr_win32\\gamemodes\\falvacskakrpg.pwn(32) : error 009: invalid array size (negative, zero or out of bounds)F:\\Users\\Szõke\\Desktop\\samp03e_svr_win32\\gamemodes\\falvacskakrpg.pwn(610) : warning 213: tag mismatchF:\\Users\\Szõke\\Desktop\\samp03e_svr_win32\\gamemodes\\falvacskakrpg.pwn(782) : warning 203: symbol is never used: \"ret_memcpy\"Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 2 Errors.