Blocking the /save command
#1

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)
Reply
#2

Код:
if(strcmp(cmd, "/save", true) == 0) {
    Kick(playerid);
return 0;
Reply
#3



This isn't possible, its a client-sided Command, not server-sided
Reply
#4

Why would you want to do that anyway?
Reply
#5

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
Reply
#6

.......this is like me wanting to block the command /timestamp because i don't want people to know what time it is.
Reply
#7

What I think he means is; he do not want people going around saving all his positions so they can ripoff his server.
Reply
#8

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)
Reply
#9

It's not possible.
Reply
#10

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)