(Y si alguien tiene algun anti chat bueno que me lo pase y que me diga como sacar este que no puedo xD) Bueno tengo un GM que trae un anti-Cheat entonces al empesar cuando te vas a logear el fondo es como si estuvieras flotando y volando por toda la ciudad entonces el anti cheat te detecta como Breake Air algo asi xD entonces quiero sacarlo a eso uso el GM de Santa Lucia Clan 1.1 y el anti cheat es AC-BC (Balkan Security no se que version) pero creo que no solamente es cuando logeas por que andábamos dando vuelta en una Moto y paso lo mismo.
PD: Lo intente sacar pero me pone unos Warnings (Como lo saco?)
Creo que es esto:
PD: Lo intente sacar pero me pone unos Warnings (Como lo saco?)
Creo que es esto:
- Código:
// -=========== AntiCheat ========-
function AntiCheat()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
// new string[128];
new Float:health, Float:armor;
GetPlayerHealth(i, health);
GetPlayerArmour(i, armor);
//new weaponid, ammo;
new plname[64];
new y, m, d;
new h,mi,s;
getdate(y,m,d);
gettime(h,mi,s);
GetPlayerName(i, plname, sizeof(plname));
/*if (PlayerGotSpottedRecently[i] == 0)
{
if(ScriptWeaponsUpdated[i] == 0)
{
for (new c = 0; c < 13; c++)
{
GetPlayerWeaponData(i, c, weaponid, ammo);
if (weaponid != 0 && ammo != 0)
{
if (ScriptWeapons[i][c] != weaponid)
{
new weapon[24]; GetWeaponName(weaponid, weapon, 24);
format(string, sizeof(string),">> {FFFFFF}Has sido baneado por Cheat de Armas: {41FF2F}%s (%d)",weapon,weaponid);
SendClientMessage(i,COLOR_LIGHTBLUE, string);
SafeResetPlayerWeapons(i);
}
}
}
}
}
}*/
if(GetPlayerMoney(i) > ScriptMoney[i])
{
new playerid;
if(!PlayerToPoint(90,playerid,2234.0159,1604.5325,1006.1797)){
SetMoneyToPlayer(i,ScriptMoney[i]);
return 1;}
else if(!PlayerToPoint(90,playerid,1951.9210,1018.4822,992.4688)){
SetMoneyToPlayer(i,ScriptMoney[i]);
return 1;}
else if(!PlayerToPoint(90,playerid,1129.2412,-2.9208,1000.6797)){
SetMoneyToPlayer(i,ScriptMoney[i]);
return 1;}
}
//·| Simple anti-cheat Armas >> =================|·
if(GetPlayerWeapon(i) == 9) ResetPlayerWeapons(i); // Motosierra
//if(GetPlayerWeapon(i) == 16) ResetPlayerWeapons(i); // Granadas
//if(GetPlayerWeapon(i) == 18) ResetPlayerWeapons(i); // Cocteles
if(GetPlayerWeapon(i) == 26) ResetPlayerWeapons(i);
if(GetPlayerWeapon(i) == 28) ResetPlayerWeapons(i);
if(GetPlayerWeapon(i) == 32) ResetPlayerWeapons(i);
if(GetPlayerWeapon(i) == 35) ResetPlayerWeapons(i);
if(GetPlayerWeapon(i) == 36) ResetPlayerWeapons(i);
if(GetPlayerWeapon(i) == 37) ResetPlayerWeapons(i);
if(GetPlayerWeapon(i) == 38) ResetPlayerWeapons(i);
if(GetPlayerWeapon(i) == 39) ResetPlayerWeapons(i);
if(GetPlayerWeapon(i) == 40) ResetPlayerWeapons(i);
if(GetPlayerWeapon(i) == 44) ResetPlayerWeapons(i);
if(GetPlayerWeapon(i) == 45) ResetPlayerWeapons(i);
//·|=============================================|·
if(health > PlayerInfo[i][pHealth])
{
AC_BS_SetPlayerHealth(i, PlayerInfo[i][pHealth]);
}
if(armor > ScriptArmor[i])
{
GiveArmorToPlayer(i, ScriptArmor[i]);
}
}
}
return 1;
}
// -=========================-
/* AntiCheat */
#define GetPlayerMoney GetScriptMoney
#define AC_BS_ResetPlayerMoney MoneyResetToPlayer
#define AC_BS_GivePlayerMoney MoneyGiveToPlayer
#define AC_BS_SetPlayerMoney SetMoneyToPlayer
#define AC_BS_SetPlayerArmour GiveArmorToPlayer
// -=========================-
public DollahScoreUpdate()
{
new LevScore;
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
LevScore = PlayerInfo[i][pLevel];
SetPlayerScore(i, LevScore);
}
}
return 1;
}