/ocheck (offline Check CMD) +2 REP
#6

I already have a stats check cmd /check

Код:
CMD:check(playerid, params[])
{
	if (PlayerInfo[playerid][pAdmin] >= 2)
	{
		new giveplayerid;
		if(sscanf(params, "u", giveplayerid)) return SendClientMessageEx(playerid, COLOR_GREY, "USAGE: /check [player]");
		if(IsPlayerConnected(giveplayerid)) ShowStats(playerid, giveplayerid);
		else SendClientMessageEx(playerid, COLOR_GRAD1, "Invalid player specified.");
	}
	else SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use this command.");
	return 1;
}
And i want that the CMD /ocheck to show the stats of OFFLINE players from MySQL Database
Reply


Messages In This Thread
/ocheck (offline Check CMD) +2 REP - by Tidzii - 23.06.2014, 18:26
Re: /ocheck (offline Check CMD) +2 REP - by Barnwell - 23.06.2014, 18:29
Re: /ocheck (offline Check CMD) +2 REP - by [WSF]ThA_Devil - 23.06.2014, 18:37
Re: /ocheck (offline Check CMD) +2 REP - by Tidzii - 23.06.2014, 18:46
Re: /ocheck (offline Check CMD) +2 REP - by Golf - 23.06.2014, 19:10
Re: /ocheck (offline Check CMD) +2 REP - by Tidzii - 23.06.2014, 19:50
Re: /ocheck (offline Check CMD) +2 REP - by Tidzii - 23.06.2014, 22:19
Re: /ocheck (offline Check CMD) +2 REP - by Abagail - 23.06.2014, 22:41

Forum Jump:


Users browsing this thread: 2 Guest(s)