12.07.2015, 16:54
Well I still can't load it and show the reason in message
pawn Код:
CMD:wanted(playerid,params[])
{
//https://sampforum.blast.hk/showthread.php?tid=436664
new string[128];
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,24);
new INI:File = INI_Open(UserPath(playerid));
//INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
INI_WriteString(File,"Crimes",PlayerInfo[playerid][Crime]);
format(string, sizeof(string), "Your current crimes: %s", PlayerInfo[playerid][Crime]);
SendClientMessage(playerid, -1, string);
INI_Close(File);
return 1;
}