Quote:
Originally Posted by Satori_Komeiji
Anyone that connects to your server will instantly get banned. There are no functions to fix a player's health to 99 and not 100.
pawn Code:
public OnPlayerUpdate(playerid) { ///////////////////////ARMOUR HACK///////////////////////////////////// new Float:Armour; GetPlayerArmour(playerid, Armour); #if defined MAX_ARMOUR if(Armour > 99.0) { TogglePlayerControllable(playerid, false); SetPlayerPos(playerid, 1941.1534,-1100.2391,-23.7885); ShowPlayerDialog(playerid, DIALOG_PRAVILA,DIALOG_STYLE_MSGBOX,"Anti-Hack", "{FFCC00}[Anticheat]"WHITE"[Anti-Cheat] You Have Been Banned for using Armour hack!!!","Ok",""); BanEx(playerid, "Armour Hack"); }
return 1; }
|
I know but if player set his armour in GM 99 everythink will be ok