Block "/save" command?
#1

I know that block "/save" command on my server?
Reply
#2

yes you can. maybe you can try that command on your game mode.

Code:
	if(strcmp(cmdtext, "/save", true) == 0) if(Admin[playerid] == 1)
	{
        SendClientMessageToPlayer(playerid, " You can't stole any car or player coordinat's from this server");
	return 1;
}
Reply
#3

You can't.
Reply
#4

Quote:
Originally Posted by ByFukara
yes you can. maybe you can try that command on your game mode.

Code:
	if(strcmp(cmdtext, "/save", true) == 0) if(Admin[playerid] == 1)
	{
        SendClientMessageToPlayer(playerid, " You can't stole any car or player coordinat's from this server");
	return 1;
}
No, you can't. That won't work.
/save is sa-mp command like /interior or /q(uit).
Reply
#5

SA:MP commands:
Quote:

/q
/quit
/pm
/tpm
/msg
/save
/interior

But you can't block those, like ^ said.
Reply
#6

Quote:

if(strcmp(cmdtext, "/save", true) == 0) if(Admin[playerid] == 1)
{
SendClientMessageToPlayer(playerid, " You can't stole any car or player coordinat's from this server");
return 1;
}

Not functional...
Reply
#7

You can't block it, but why would you want to?
Reply
#8

This filter will not block any commands
Reply
#9

You can block /msg and /pm, [NL]WackoX.
Reply
#10

Quote:
Originally Posted by Lazarus
You can block /msg and /pm, [NL]WackoX.
If you return 0 at OnPlayerPrivmsg callback, yes.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)