SA-MP Forums Archive
How can I remove that command /dl - 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: How can I remove that command /dl (/showthread.php?tid=145770)



How can I remove that command /dl - Survior - 03.05.2010

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


Re: How can I remove that command /dl - Mike Garber - 03.05.2010

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


Re: How can I remove that command /dl - piohh - 03.05.2010

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


Re: How can I remove that command /dl - Survior - 03.05.2010

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.


Re: How can I remove that command /dl - Mechscape - 03.05.2010

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


Re: How can I remove that command /dl - piohh - 03.05.2010

don't work, onplayercommandtext and onplayertext ignor this


Re: How can I remove that command /dl - Survior - 03.05.2010

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.


Re: How can I remove that command /dl - Mechscape - 03.05.2010

It can't be.


Re: How can I remove that command /dl - Correlli - 03.05.2010

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.


Re: How can I remove that command /dl - piohh - 03.05.2010

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