[Include] Anti Vehicle Repair
#1

Hi, I'm sharing an anti-cheat system with you guys. It took about 30 minutes to do it.
I'm sorry for my bad English in advance.

Information:

Players who are vehicle health finds and throws it.

Used Functions:

OnGameModeInit
OnPlayerConnect
OnPlayerDisconnect
OnVehicleSpawn
OnPlayerUpdate
OnEnterExitModShop
OnVehicleDamageStatusUpdate
CreateVehicle
AddStaticVehicle
AddStaticVehicleEx
SetVehicleHealth
RepairVehicle



Callbacks:

Code:
public OnPlayerVehHealthHack(playerid)
{
    new str[31 + 24], hacker_name[MAX_PLAYER_NAME];
	GetPlayerName(playerid, hacker_name, sizeof(hacker_name));
	format(str, sizeof(str), "%s(%d) -> Vehicle Repair Hack", hacker_name, playerid);
	SendClientMessageToAll(-1, str);
	return 1;
}
Bug:

I did not encounter any errors. If you find an error, share it with me.

Download:

https://pastebin.com/raw/aF54DXem
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)