if(num_hash(inputtext) == dini_Int(userfile(playerid), "Password"))
{
new string[900],haha[500],Ultra[MAX_PLAYERS];
dini_IntSet(userfile(playerid),"Logged", 1);
AccInfo[playerid][Logged] = 1;
AccInfo[playerid][Skin] = dini_Int(userfile(playerid),"Skin");
AccInfo[playerid][Money] = dini_Int(userfile(playerid),"Money");
AccInfo[playerid][Password] = dini_Int(userfile(playerid),"Password");
strcat(Ultra[playerid], dini_Get(userfile(playerid),"IP"));
SetPlayerSkin(playerid,AccInfo[playerid][Skin]);
format(haha,sizeof(haha),""green"Successfully Login With Password: "yellow"%d/n"red"[SERVER]: "white"Last login IP:"yellow"%s.",num_hash(AccInfo[playerid][Password]),Ultra[playerid]);// this is error line
strcat(string,haha,sizeof(string));
ShowPlayerDialog(playerid, NotifyDialog, DIALOG_STYLE_MSGBOX, ""red"< ! > "yellow"Notice", string, "OK");
dini_Set(userfile(playerid),"IP", GetIP(playerid));
}
i don't know where it is but it in my include i just don't know which one :/
|