07.05.2010, 01:36
Coloca Assim
Код:
public AntiHW(playerid) { new string[128]; new name[MAX_PLAYER_NAME]; new WeaponData[13][2]; GetPlayerName(playerid, name, sizeof(name)); for(new i = 0; i < MAX_PLAYERS; i++) { for(new a = 0; a < 13; a++) { GetPlayerWeaponData(i, a, WeaponData[a][0], WeaponData[a][1]); if(WeaponData[a][0] == 39 || WeaponData[a][0] == 38 || WeaponData[a][0] == 38 || WeaponData[a][0] == 37 || WeaponData[a][0] == 36 || WeaponData[a][0] == 35 || WeaponData[a][0] == 41 || WeaponData[a][0] == 42 || WeaponData[a][0] == 43 || WeaponData[a][0] == 44 || WeaponData[a][0] == 45){ format(string, sizeof(string), "%s foi banido : Heavy Weapowns.",name); SendClientMessageToAll(COLOR_RED, string); } } }