Quote:
Originally Posted by K9IsGodly
What he gave you would work with any command. Just take this:
PHP Code:
CMD:cmd(playerid, params[])
{
// Do stuff here
UsedCmd[playerid]++; // This will increase it +1
}
And adapt it to your command of choice..
PHP Code:
CMD:me(playerid, params[])
{
// The command etc
UsedCmd[playerid]++;
}
But of course you must define the variable of UsedCmd and you of course would want to set it to 0 when they join, as Lynn showed.
|
Thank you, I understood after looking twice.