11.08.2011, 17:26
sorry change
to
line 6825 so
pawn Код:
new weaponid == GetPlayerWeapon(playerid);
pawn Код:
new weaponid = GetPlayerWeapon(playerid);
pawn Код:
public OnPlayerUpdate(playerid){
new Name[MAX_PLAYER_NAME];
GetPlayerName(playerid,Name,sizeof(Name));
new str[128];
new weaponid = GetPlayerWeapon(playerid);
if(weaponid == 38 )
{
format(str,sizeof(str),"BANBOT: %s has been banned from server for hacking a minigun!",Name);
SendClientMessageToAll(RED,str);
BanEx(playerid,"BANBOT: Minigun Hack!");
}
return 1;
}