23.06.2014, 19:50
I already have a stats check cmd /check
And i want that the CMD /ocheck to show the stats of OFFLINE players from MySQL Database
Код:
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; }