Need help Rep+1
#1

Same Post
Link : https://sampforum.blast.hk/showthread.php?pid=3294827#pid3294827

The hacker Teleport Players in the Sky and Kill them also there vehicle.

Код:
CMD:sk(playerid,params[])
{
if(scount[playerid]==0)
{
     CommandToAdmins(playerid,"sk");
	 format(Jstring,sizeof(Jstring),"{FF0000}[REPORT:]{FFFFFF} %s [%d]using /sk Trying to Teleport Vehicle Hack check him Fast",GetName(playerid),playerid);
	 SendToAdmins(COLOR_KRED,Jstring);
     scount[playerid]++;
}
else if(scount[playerid]==1)
{
Sk(playerid);
}
return 1;
}

After that i try simple CMD to detect it but Fail ?

How i can detect the hacker?
Reply
#2

Why dont you just delete the CMD?
Reply
#3

what do you mean check the Link at top of Post ..
First.. and see why i use CMD
Reply
#4

I doubt that this cheat is even possible as of what i know, you cannot control other players using a client-sided mod. Please correct me if i'm wrong.

Anyway, try using OnPlayerCommandText directly... (though i doubt again that this will even detect it).
Reply
#5

try using OnPlayerCommandText directly...

how i can use Directly ?
Reply
#6

Using Strcmp under OnPlayerCommandText to check if they write /sk.

Are you even sure that the hacker you have trouble with needs to use /sk?
He could have changed the command in the cleo script, or is using another cheat.
Reply
#7

Actually they keep coming ..And teleporting players vehicle in Sky ...and they got killed.
they use /sk id vehicleid

So to detect that hack i'm trying..

CMDk(playerid,params[])
{
if(scount[playerid]==0)
{
CommandToAdmins(playerid,"sk");
format(Jstring,sizeof(Jstring),"{FF0000}[REPORT:]{FFFFFF} %s [%d]using /sk Trying to Teleport Vehicle Hack check him Fast",GetName(playerid),playerid);
SendToAdmins(COLOR_KRED,Jstring);
scount[playerid]++;
}
else if(scount[playerid]==1)
{
Sk(playerid);
}
return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)