public OnPlayerUpdate(playerid)
{
new string[128];
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(string,sizeof(string),\"Account/%s.ini\",name);
if(fexist(string))
{
dini_IntSet(string,\"Jailed\", AccInfo[playerid][Jailed]);
dini_IntSet(string,\"Admin\", AccInfo[playerid][Admin]);
dini_IntSet(string,\"XP\", AccInfo[playerid][Xp]);
dini_IntSet(string,\"Deaths\", AccInfo[playerid][Deaths]);
dini_IntSet(string,\"Kills\", AccInfo[playerid][Kills]);
}
new str[128];
format(str, sizeof(str),\"%d XP\",AccInfo[playerid][Xp]);
TextDrawSetString(xptextdraw[playerid], str);
TextDrawShowForPlayer(playerid, xptextdraw[playerid]);
return 1;
}
Atyaég O.O