03.03.2012, 12:58
kkkk que estranhu acho que esqueci de algo kkkkk
Linha e
As Duas
Funзao
PHP код:
C:\Documents and Settings\Don_SpeeD\Desktop\AntiHack.pwn(40) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Don_SpeeD\Desktop\AntiHack.pwn(48) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Warnings.
pawn Код:
Kick();
Funзao
pawn Код:
forward Check();
public Check()
{
new string[256];
new PlayerName[MAX_PLAYER_NAME];
for(new d = 0; d < MAX_PLAYER; d++)
{
if(GetPlayerSpecialAction(d) == SPECIAL_ACTION_USEJETPACK)
{
GetPlayerName(d, PlayerName, sizeof(PlayerName));
format(string, sizeof(string), "-DHack- %s Foi Kickado Pelo Administrador DBot [Motivo: JetPack Hack]", PlayerName);
SendClientMessageToAll(COLOR_LIGHTRED, string);
Kick();
}
for(new a = 0; a < sizeof(Armashack); a ++)
{
if(GetPlayerWeapon(d) == Armashack[a]){
GetPlayerName(d, PlayerName, sizeof(PlayerName));
format(string, sizeof(string), "-DHack- %s Foi Kickado Pelo Administrador DBot [Motivo: Weapon Hack]", PlayerName);
SendClientMessageToAll(COLOR_LIGHTRED, string);
Kick();
}
}
}
}