06.07.2011, 17:47
Ta nessa public olha ai ;x
pawn Код:
public CheckWeaponHack()
{
new string[256];
new giveplayer[MAX_PLAYER_NAME];
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(antixiter == 1)
{
return 1;
}
if(PlayerInfo[i][pMember] == 21 && WantedPoints[i] >= 1) //BOPEsu
{
WantedPoints[i] = 0;
SetPlayerWantedLevel(i, 0);
return 1;
}
if(PlayerInfo[i][pMember] == 14 && WantedPoints[i] >= 1) //BOPEsu
{
WantedPoints[i] = 0;
SetPlayerWantedLevel(i, 0);
return 1;
}
if(spawnado[i] > 0)
{
// JetPack
if(GetPlayerSpecialAction(i) == SPECIAL_ACTION_USEJETPACK)
{
if( PlayerInfo [ playerid ][ pAdmin ] >= 1 ) return false;
GetPlayerName(i, giveplayer, sizeof(giveplayer));
format(string, sizeof(string), "ANTICHEAT: %s[ID %d] estб usando um JetPack use /espiar nele para ve-lo.", giveplayer,i);
ABroadCast(COLOR_LIGHTRED,string,1);
SendClientMessage(i, RED, "А Fйladaputa fazendo armas ai nй noob!");
ResetPlayerWeapons(i);
}