/command and numbers
#1

If someone types /fpslimit 25 is it possible for me to send the message to online admins?

If so, how do I send it? I have:

pawn Код:
dcmd_fpslimit(playerid,params[])
{
    {
        GetPlayerName(playerid, playername, sizeof(playername));
        format(string, sizeof(string), "%s(%d) has set his fpslimit to: %d", playername, playerid, ????);
        SendMessageToAdmins(string);
        return 1;
    }
    return 1;
}
Where can I detect what numbers they put
Reply
#2

someone help me?
Reply
#3

I'm pretty sure that it goes through the client instead of the server. I don't think you can actually detect when the player types /fpslimit, I may be wrong though. There was a way to detect someone's lag though, look around for that.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)