07.03.2013, 21:09
i have it at onplayerupdate
1.Kicks when some people at connect..inocent people
2.Spams the chat
please help!
1.Kicks when some people at connect..inocent people
2.Spams the chat
please help!
pawn Код:
for(new i; i < MAX_PLAYERS; i++)
{
new sendername[MAX_PLAYER_NAME];
GetPlayerName(i, sendername, sizeof(sendername));
new string[256];
if(GetPlayerWeapon(i) == 35 || GetPlayerWeapon(i) == 37 || GetPlayerWeapon(i) == 38 || GetPlayerWeapon(i) == 17)
{
format(string, sizeof(string), "%s a primit Kick de la BOT, Motiv: Weapon Hack",sendername);
SendClientMessageToAll(COLOR_RED, string);
Kick(i);
return 1;
}
}