11.06.2018, 23:35
Hi guys well i do not have any problem with scripting but i want to know, why y_ini writes data like this (see picture)? I want to make Password on the top of the list. How can i do this?
new INI:File = INI_Open(UserPath(playerid)); INI_SetTag(File,"data"); INI_WriteInt(File,"Password",udb_hash(inputtext)); INI_WriteInt(File,"Money",0); INI_WriteInt(File,"Admin",0); INI_Close(File); gPlayerLoggedIn[playerid] = 1;
function SaveUser_data(playerid) { new INI:File = INI_Open(UserPath(playerid)); INI_SetTag(File,"data"); INI_WriteInt(File,"Money",GetPlayerMoney(playerid)); INI_WriteInt(File,"Admin",PlayerInfo[playerid][pAdmin]); INI_Close(File); }
function SaveUser_data(playerid) { new INI:File = INI_Open(UserPath(playerid)); INI_SetTag(File,"data"); INI_WriteInt(File,"Money",GetPlayerMoney(playerid)); INI_WriteInt(File,"Admin",PlayerInfo[playerid][pAdmin]); INI_Close(File); }