Blocking the /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: Blocking the /save command (
/showthread.php?tid=204391)
Blocking the /save command -
nuriel8833 - 29.12.2010
Hello
I am trying to make an code in my server that blocks people from doing the /save command
I tried to add at the end return 0;,but it didn't work
Can someone help me?
Thanks
(Ps I've deleted the code so I can't give it to you)
Re: Blocking the /save command -
TopAz07 - 29.12.2010
Код:
if(strcmp(cmd, "/save", true) == 0) {
Kick(playerid);
return 0;
Re: Blocking the /save command -
[WF]Demon - 29.12.2010
This isn't possible, its a client-sided Command, not server-sided
Re: Blocking the /save command -
Raz0r1000 - 29.12.2010
Why would you want to do that anyway?
Re: Blocking the /save command -
nuriel8833 - 29.12.2010
Quote:
Originally Posted by Raz0r1000
Why would you want to do that anyway?
|
Cause I don't want them to start using my server as their testing server,its complicated...
But anyway if its impossible than no problem lock please
Re: Blocking the /save command -
Steven82 - 29.12.2010
.......this is like me wanting to block the command /timestamp because i don't want people to know what time it is.
Re: Blocking the /save command - [03]Garsino - 29.12.2010
What I think he means is; he do not want people going around saving all his positions so they can ripoff his server.
Re: Blocking the /save command -
nuriel8833 - 29.12.2010
Quote:
Originally Posted by [03]Garsino
What I think he means is; he do not want people going around saving all his positions so they can ripoff his server.
|
Yes exacly
But I am asking is it possible to block a command which is built in the SA:MP itself and not that was made by any server
(Sorry for low English O.o)
Re: Blocking the /save command - [03]Garsino - 29.12.2010
It's not possible.
Re: Blocking the /save command -
Anthonyx3' - 29.12.2010
i guess you could try what they said about, make it so if they do /save it kicks you but i think the cmd would still save the pos, so it might not be possible