23.06.2014, 19:10
make your stats check cmd
PHP код:
CMD:ocheck(playerid, params[])
{
new id;
if (!strlen(params)) return SendClientMessage(playerid, 0xFF0000AA, "Usage: \"/ocheck <playerid>\"");
id = strval(params);
if(PlayerInfo[playerid][pAdmin] < 3)
{
SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use that command!");
return 1;
}
return cmd_Stats(id, params); /// if you have stats cmd you can make it
}