Help cleo kick.cs - 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)
+--- Thread: Help cleo kick.cs (
/showthread.php?tid=551804)
Help cleo kick.cs -
TVDYNAMO - 21.12.2014
Can someone help me one quick code hack, hackers use the code /sk playerid carid to make players spawn around the map
Video:
https://www.youtube.com/watch?v=sZ7fTR7veV4
Re: Help cleo kick.cs -
1fret - 21.12.2014
I would do something like this
pawn Код:
//if you use zcmd include
COMMAND:sk(playerid,params[])
{
SendClientMessage(playerid,red,"got you bitch" );
Ban(playerid );//bans anyone that use this command
Return 1;
}
Re: Help cleo kick.cs -
Glossy42O - 21.12.2014
so isn't it like a hack?
Re: Help cleo kick.cs -
1fret - 21.12.2014
Quote:
Originally Posted by Stuun23
so isn't it like a hack?
|
Yes its an hack but they have to type it in main chat so anyone who types that command will get banned Watch the video they have to type it.
Re: Help cleo kick.cs -
Write - 21.12.2014
Quote:
Originally Posted by 1fret
I would do something like this
pawn Код:
//if you use zcmd include COMMAND:sk(playerid,params[]) { SendClientMessage(playerid,red,"got you bitch" ); Ban(playerid );//bans anyone that use this command Return 1; }
|
Definitely not!
Cleo dosen't send script-sided commands so if you were to write that command it still woulden't help you detect it but ban the people who tries it.
Re: Help cleo kick.cs -
Glossy42O - 21.12.2014
@ 1fret
What if someone accidently types /sk ? think alittle
Re: Help cleo kick.cs -
rickisme - 21.12.2014
Quote:
Originally Posted by 1fret
I would do something like this
pawn Код:
//if you use zcmd include COMMAND:sk(playerid,params[]) { SendClientMessage(playerid,red,"got you bitch" ); Ban(playerid );//bans anyone that use this command Return 1; }
|
Lol, it's client-side command(SAMPFUNCS), so you can't use that way
AW: Re: Help cleo kick.cs -
TVDYNAMO - 22.12.2014
Quote:
Originally Posted by 1fret
I would do something like this
pawn Код:
//if you use zcmd include COMMAND:sk(playerid,params[]) { SendClientMessage(playerid,red,"got you bitch" ); Ban(playerid );//bans anyone that use this command Return 1; }
|
I tried this way it is not effective, the hacker will not have any trouble on this issue, please help me one code quickly cleo.cs
Re: Help cleo kick.cs -
Kyance - 22.12.2014
Quote:
Originally Posted by rickisme
Lol, it's client-side command(SAMPFUNCS), so you can't use that way
|
So? The server will still detect when a player types /sk, thus banning him.
There's a cleo hack on the command "mgbull", and I added this:
pawn Код:
CMD:mgbull(playerid, params[]) {
new string[66];
if(GetAdminCount())
{
format(string, sizeof(string), "AdmWarn: %s(%d) possible bullet-exploit.", GetName(playerid), playerid);
SendMessageToAdmins(COLOR_NOTES2, string, true);
}
else
{
printf("[anticheat]%s: kick for /mgbull", GetName(playerid));
Kick(playerid);
}
return 1;
}
To avoid it.
And it works, so I don't see what's so funny about this.