08.12.2010, 21:03
Como desactivo anti-Armour? estos son los code
public AntiArmourHealthHack(){
#if defined ANTI_ARMOUR
for(new i=0;i<MAX_SERVER_PLAYERS;i++){
new Float:armour;
new Float:health;
GetPlayerArmour(i,Float:armour);
GetPlayerHealth(i,Float:health);
GetPlayerName(i, pname, sizeof(pname));
if(IsPlayerConnected(i)){
if(health>Options[MaxHealth] && !IsPlayerNPC(i)){
for(new a=0;a<MAX_SERVER_PLAYERS;a++){
if(Lingua[a]==1){
format(string,sizeof(string),"SERVER: %s и stato cacciato dal server [Motivo: Health hack]", pname);
SendClientMessage(a,GIALLO,string);GameTextForPlay er(i,"~r~CACCIATO~n~~b~per~n~~r~Health hack",10000,3);}else
if(Lingua[a]==2){
format(string,sizeof(string),"SERVER: %s has been kicked [Reason: Health hack]", pname);
SendClientMessage(a,GIALLO,string);GameTextForPlay er(i,"~r~KICKED~n~~b~for~n~~r~Health Hack",10000,3);}}
Kick(i);}
if(armour > Options[MaxArmour])if(!IsPlayerNPC(i)) {
for(new a=0;a<MAX_SERVER_PLAYERS;a++){
if(Lingua[a]==1){
format(string,sizeof(string),"SERVER: %s и stato cacciato dal server [Motivo: Armour hack]", pname);
SendClientMessage(a,GIALLO,string);GameTextForPlay er(i,"~r~CACCIATO~n~~b~per~n~~r~Armour hack",10000,3);}else
if(Lingua[a]==2){
format(string,sizeof(string),"SERVER: %s has been kicked [Reason: Armour hack]", pname);
SendClientMessage(a,GIALLO,string);GameTextForPlay er(i,"~r~KICKED~n~~b~for~n~~r~Armour Hack",10000,3);}}
Kick(i);}}}
#endif
return 1;}
public AntiArmourHealthHack(){
#if defined ANTI_ARMOUR
for(new i=0;i<MAX_SERVER_PLAYERS;i++){
new Float:armour;
new Float:health;
GetPlayerArmour(i,Float:armour);
GetPlayerHealth(i,Float:health);
GetPlayerName(i, pname, sizeof(pname));
if(IsPlayerConnected(i)){
if(health>Options[MaxHealth] && !IsPlayerNPC(i)){
for(new a=0;a<MAX_SERVER_PLAYERS;a++){
if(Lingua[a]==1){
format(string,sizeof(string),"SERVER: %s и stato cacciato dal server [Motivo: Health hack]", pname);
SendClientMessage(a,GIALLO,string);GameTextForPlay er(i,"~r~CACCIATO~n~~b~per~n~~r~Health hack",10000,3);}else
if(Lingua[a]==2){
format(string,sizeof(string),"SERVER: %s has been kicked [Reason: Health hack]", pname);
SendClientMessage(a,GIALLO,string);GameTextForPlay er(i,"~r~KICKED~n~~b~for~n~~r~Health Hack",10000,3);}}
Kick(i);}
if(armour > Options[MaxArmour])if(!IsPlayerNPC(i)) {
for(new a=0;a<MAX_SERVER_PLAYERS;a++){
if(Lingua[a]==1){
format(string,sizeof(string),"SERVER: %s и stato cacciato dal server [Motivo: Armour hack]", pname);
SendClientMessage(a,GIALLO,string);GameTextForPlay er(i,"~r~CACCIATO~n~~b~per~n~~r~Armour hack",10000,3);}else
if(Lingua[a]==2){
format(string,sizeof(string),"SERVER: %s has been kicked [Reason: Armour hack]", pname);
SendClientMessage(a,GIALLO,string);GameTextForPlay er(i,"~r~KICKED~n~~b~for~n~~r~Armour Hack",10000,3);}}
Kick(i);}}}
#endif
return 1;}