11.07.2015, 17:09
Can someone help me with this? I just don't know how to save player's crime reason and how to load it, I tried with:
Sure it's not working cuz to be honest idk how to do that but I tried at least :F
Can someone show me proper way to do that?
pawn Код:
CMD:makewanted(playerid,params[])
{
new name[MAX_PLAYER_NAME], reason[128];
if(!sscanf(params,"ss[" #MAX_PLAYER_NAME "]", name,reason))
{
new INI:File = INI_Open(UserPath(playerid));
INI_WriteString(File,"Crime",reason);
}
return 1;
}
Can someone show me proper way to do that?