[HELP] File Path
#6

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.

Код:
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);
Then further down, once into the commands, I have:

Код:
if(dini_Exists(string))
{
dini_IntSet(string, "Job", 3);
}
Reply


Messages In This Thread
[HELP] File Path - by Haegon - 06.07.2009, 01:09
Re: [HELP] File Path - by Correlli - 06.07.2009, 01:12
Re: [HELP] File Path - by Haegon - 06.07.2009, 03:27
Re: [HELP] File Path - by yom - 06.07.2009, 04:56
Re: [HELP] File Path - by -Sneaky- - 06.07.2009, 05:53
Re: [HELP] File Path - by Haegon - 06.07.2009, 06:17
Re: [HELP] File Path - by yom - 06.07.2009, 06:36
Re: [HELP] File Path - by -Sneaky- - 06.07.2009, 07:59
Re: [HELP] File Path - by dice7 - 06.07.2009, 08:28
Re: [HELP] File Path - by Haegon - 07.07.2009, 01:15

Forum Jump:


Users browsing this thread: 1 Guest(s)