06.07.2009, 06:17
This is what I have right now, and I tried to pick up a job in my server and it didn't write it to the file. I'm absolutely clueless about the problem.
Then further down, once into the commands, I have:
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { new string[64], name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), "xadmin/Users/%s.ini", name);
Код:
if(dini_Exists(string)) { dini_IntSet(string, "Job", 3); }