28.04.2012, 01:01
Veja assim:
se nгo der assiim use esse:
pawn Код:
public CheckHack()// Anti Xiter de Armas e Jet Pack
{
new string[128];
new giveplayer[MAX_PLAYER_NAME];
for(new i = 0; i < MAX_PLAYERS; i++) {
if(IsPlayerConnected(i) && gPlayerLogged[i] == 1 && !IsPlayerNPC(i) && PlayerInfo[giveplayer][pSocio] && spawnado[i] > 0) {
if(GetPlayerSpecialAction(i) == SPECIAL_ACTION_USEJETPACK) {
GetPlayerName(i, giveplayer, sizeof(giveplayer));
format(string, sizeof(string), "ANTICHEAT: %s[ID %d] estб usando um JetPack /tv nele rapido!", giveplayer,i);
ABroadCast(COLOR_LIGHTRED,string,1);
}
pawn Код:
public CheckHack()// Anti Xiter de Armas e Jet Pack
{
new string[128];
new giveplayer[MAX_PLAYER_NAME];
for(new i = 0; i < MAX_PLAYERS; i++) {
if(IsPlayerConnected(i) && gPlayerLogged[i] == 1 && !IsPlayerNPC(i) && spawnado[i] > 0) {
if(GetPlayerSpecialAction(i) == SPECIAL_ACTION_USEJETPACK && PlayerInfo[giveplayer][pSocio])
{
GetPlayerName(i, giveplayer, sizeof(giveplayer));
format(string, sizeof(string), "ANTICHEAT: %s[ID %d] estб usando um JetPack /tv nele rapido!", giveplayer,i);
ABroadCast(COLOR_LIGHTRED,string,1);
}