SA-MP Forums Archive
Need help Rep+1 - 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: Need help Rep+1 (/showthread.php?tid=561026)



Need help Rep+1 - MBilal - 31.01.2015

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?



Re: Need help Rep+1 - DavidSparks - 31.01.2015

Why dont you just delete the CMD?


Re: Need help Rep+1 - MBilal - 31.01.2015

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


Re: Need help Rep+1 - Evocator - 31.01.2015

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


Re: Need help Rep+1 - MBilal - 31.01.2015

try using OnPlayerCommandText directly...

how i can use Directly ?


Re: Need help Rep+1 - CalvinC - 31.01.2015

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.


Re: Need help Rep+1 - MBilal - 31.01.2015

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;
}