anticheat problem
#1

hi ihave problem with car warp teleport hack

in this code :

Код:
forward WheelCheck(playerid);
public WheelCheck(playerid)
{
    if(IsPlayerInAnyVehicle(playerid) && PlayerInfo[playerid][pAdmin] < 8) {
	new string[512];
	new giveplayer[40];
	GetPlayerName(playerid, giveplayer, sizeof(giveplayer));
    format(string, sizeof(string), "AdmCmd: %s was kicked from the server by AdmBot, reason: impossible car jack", giveplayer);
    SendClientMessageToAll(COLOR_LIGHTRED, string);
    KickWithMessage(playerid, COLOR_LIGHTRED, "You have been kicked due to cheating.");
	}
	Wheel[playerid] = 0;
    return 1;
}
but its not work on cheaters
Reply
#2

Quote:
Originally Posted by uploadboys
Посмотреть сообщение
hi ihave problem with car warp teleport hack

in this code :

Код:
forward WheelCheck(playerid);
public WheelCheck(playerid)
{
    if(IsPlayerInAnyVehicle(playerid) && PlayerInfo[playerid][pAdmin] < 8) {
	new string[512];
	new giveplayer[40];
	GetPlayerName(playerid, giveplayer, sizeof(giveplayer));
    format(string, sizeof(string), "AdmCmd: %s was kicked from the server by AdmBot, reason: impossible car jack", giveplayer);
    SendClientMessageToAll(COLOR_LIGHTRED, string);
    KickWithMessage(playerid, COLOR_LIGHTRED, "You have been kicked due to cheating.");
	}
	Wheel[playerid] = 0;
    return 1;
}
but its not work on cheaters
I think you did not tell it to do so.All I can see is a string with a message and nothing else.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)