#10

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;
}
Reply


Messages In This Thread
yini - by Lajko1 - 12.07.2015, 08:43
Re: yini - by Overhaul - 12.07.2015, 08:44
Re: yini - by Jakwob - 12.07.2015, 08:52
Re: yini - by Lajko1 - 12.07.2015, 10:58
Re: yini - by Jakwob - 12.07.2015, 12:01
Re: yini - by Lajko1 - 12.07.2015, 13:01
Re: yini - by Evocator - 12.07.2015, 13:52
Re: yini - by Lajko1 - 12.07.2015, 15:14
Re: yini - by Evocator - 12.07.2015, 15:17
Re: yini - by Lajko1 - 12.07.2015, 16:54

Forum Jump:


Users browsing this thread: 2 Guest(s)