How can I remove that command /dl
#1

Hello guys,

I found a command "/dl" I thing itґs a command of SA:MP determined. But I dont know how can I remove it.
I dont want to that the user are using that command, because there have to many advantges.

Because I didnґt found any solution to remove it. I was trying that if someone were typing /dl then heґll kicked from the server. But it doesnґt work if someone type that command.


So I want to ask you:

How can I remove it?


Syr fpr my english.


Greetz
Survivor
Reply
#2

There's almost no advantages of that since It's draw distance Is low.
Reply
#3

Quote:
Originally Posted by mavtias
There's almost no advantages of that since It's draw distance Is low.
you see all ID's, Health etc. and noone must know it if he is not an admin.
It's perfect for cheater to get some cars...
Reply
#4

Thanks for the answer.

But is there any possibility to remove it? Or prevent it. Like if someones type that command and he will kicked.
Reply
#5

Код:
if(strcmp(cmd, "/dl", true) == 0)
{
SendClientMessage(playerid, COLOR_WHITE, "Who allowed you to type it /dl?");
Kick(playerid);
return 1;
}
Try it?
Reply
#6

don't work, onplayercommandtext and onplayertext ignor this
Reply
#7

Yes, thank you. But I already try it. If I or someone type that command than he will not be kicked. Not a single one message. Then nothing happends.
Reply
#8

It can't be.
Reply
#9

Quote:
Originally Posted by Picharelo
It can't be.
Of course it can be, your code won't work. You can't control the client-side commands via PAWN language.
Reply
#10

Quote:
Originally Posted by Picharelo
It can't be.
sure test it, kick don't work...
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)