28.01.2011, 01:27
Funny because the Zones.pwn is in the scriptfiles. >.>
public AdminOnPlayerText(playerid, text[]) { SendClientMessage(playerid, COLOR_WHITE, "Registration Complete. Welcome to the admin team! Type /ah to see a list of commands to use!"); new accountpath[64]; format(accountpath, 64, "/admins/%s.ini", PlayerName(playerid)); dini_Create(accountpath); new buf[150]; WP_Hash(buf, sizeof(buf), text); dini_Set(accountpath, "password", buf); dini_IntSet(accountpath, "pin", adpin[playerid]); format(buf, sizeof(buf), "ADMIN: Your admin login pin is: %d", adpin[playerid]); SendClientMessage(playerid, COLOR_GREEN, buf); PlayerInfo[playerid][Admin] = 1; <-------- Line 1095 PlayerInfo[playerid][AdminLogged] = true; makingadmin=-1; return 1;
new PlayerInfo[MAX_PLAYERS][pInfo];