SA-MP Forums Archive
Block "/save" command? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Block "/save" command? (/showthread.php?tid=83597)



Block "/save" command? - illay - 26.06.2009

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


Re: Block "/save" command? - ByFukara - 26.06.2009

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;
}



Re: Block "/save" command? - Danny_Costelo - 26.06.2009

You can't.


Re: Block "/save" command? - Correlli - 26.06.2009

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).


Re: Block "/save" command? - Andom - 26.06.2009

SA:MP commands:
Quote:

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

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


Re: Block "/save" command? - illay - 26.06.2009

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...


Re: Block "/save" command? - NeRoSiS - 26.06.2009

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


Re: Block "/save" command? - illay - 26.06.2009

This filter will not block any commands


Re: Block "/save" command? - Lazarus - 27.06.2009

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


Re: Block "/save" command? - Correlli - 27.06.2009

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