22.12.2013, 16:08
guys if you dont mind
i would like to know how to fix this last thing.
if your taking guns from guns list then it tells you that you have Registred in the server and everygun you take it tells you that i dont know whats the problem(NOTE: i got the reg system fixed that it wont kick me anymore)
SS: http://imgur.com/kI0DAz6
Please help me if you can

if your taking guns from guns list then it tells you that you have Registred in the server and everygun you take it tells you that i dont know whats the problem(NOTE: i got the reg system fixed that it wont kick me anymore)
SS: http://imgur.com/kI0DAz6
Code:
if (dialogid == DIALOGREG) { new name[MAX_PLAYER_NAME], file[256]; //string[128]; GetPlayerName(playerid, name, sizeof(name)); format(file, sizeof(file), SERVER_USER_FILE, name); if(!response) return Kick(playerid); if (!strlen(inputtext)) return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, "You Havent been Registred", "Welcome, your not registered mate, input your registration pw below", "Register", "Leave"); dini_Create(file); dini_IntSet(file, "Password", udb_hash(inputtext)); dini_IntSet(file, "AdminLevel",PlayerInfo[playerid][pAdminLevel] = 0); dini_IntSet(file, "Money",PlayerInfo[playerid][pCash] = 500); dini_IntSet(file, "Score",PlayerInfo[playerid][pScore] = 0); SendClientMessage(playerid,COLOR_YELLOW,"[SYSTEM]: You have Registerd in World of Stunting Server! Welcome !"); gPlayerLogged[playerid] = 1; }