fremove, little help please?
#1

Код:
CMD:changeplayer(playerid, params[])
{
		new pName[MAX_PLAYER_NAME], str[50];
		if(sscanf(params, "u", pName))SendClientMessage(playerid, RED, "runn3r: /changeplayer [NAME]");
		GetPlayerName(playerid, pName, sizeof pName);
		format(str, sizeof str, "/accounts/%s.ini", pName);
		fremove(str);
		return 1;
		}
How can i put this like i type /changeplayer %s and it opens the user file and writes something in that %s.ini file that i want?

I want to use FWRITE!
If you have time please help me...
Reply


Messages In This Thread
FWRITE, little help please? - by Runn3R - 23.12.2013, 21:32
Re: fremove, little help please? - by Runn3R - 24.12.2013, 07:46
Re: fremove, little help please? - by Runn3R - 24.12.2013, 14:06
Re: fremove, little help please? - by Hansrutger - 24.12.2013, 15:46

Forum Jump:


Users browsing this thread: 2 Guest(s)