16.04.2014, 18:36
I think here is the error!
Quote:
forward LoadUser_data(playerid,name[],value[]); public LoadUser_data(playerid,name[],value[]) { INI_Int("Jelszo",PlayerInfo[playerid][pJelszo]); INI_Int("Penz",PlayerInfo[playerid][pPenz]); return 1; } stock UserPath(playerid) { new string[128],playername[MAX_PLAYER_NAME]; GetPlayerName(playerid,playername,sizeof(playernam e)); format(string,sizeof(string),REG,playername); return string; } forward LoadBanUser_data(playerid,name[],value[]); public LoadBanUser_data(playerid,name[],value[]) { INI_Int("BanIdo",PlayerInfo[playerid][pBanTime]); INI_Int("BanPerm",PlayerInfo[playerid][pBanPerm]); INI_String("BanAdmin", PlayerInfo[playerid][pBanAdmin], 20); INI_String("Ok",PlayerInfo[playerid][pBanReason],100); return 1; } stock UserBanPath(playerid) { new string[128],playername[MAX_PLAYER_NAME]; GetPlayerName(playerid,playername,sizeof(playernam e)); format(string,sizeof(string),BAN,playername); return string; } |