04.09.2009, 00:06
You could try this but i dont know if it will work, since it is client side:
If it dont works you can kick anyone that uses that command
I guess it's possible, but i'm still going to test it.
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/save", true) == 0)
{
return 0;
}
}
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/save", true) == 0)
{
return Kick(playerid); // Change to Ban(playerid); if you want to ban them
}
}

