Need help with zcmd /ban command.
#3

Yes, this is the code i have there.

Код:
public OnPlayerDisconnect(playerid, reason)
{
	new INI:File = INI_Open(UserPath(playerid));
	INI_SetTag(File,"data");
	INI_WriteInt(File,"Level",GetPlayerScore(playerid));
	INI_WriteInt(File,"Cash",GetPlayerMoney(playerid));
	INI_WriteInt(File,"Admin",PlayerInfo[playerid][pAdmin]);
	INI_WriteInt(File,"Banned",PlayerInfo[playerid][pBanned]);
	return 1;
}
Reply


Messages In This Thread
Need help with zcmd /ban command. - by danielpalade - 24.11.2014, 21:53
Re: Need help with zcmd /ban command. - by DobbysGamertag - 24.11.2014, 21:58
Re: Need help with zcmd /ban command. - by danielpalade - 24.11.2014, 22:05
Re: Need help with zcmd /ban command. - by Banana_Ghost - 25.11.2014, 03:23

Forum Jump:


Users browsing this thread: 1 Guest(s)