13.09.2010, 07:10
With foreach, I've made this function for you:
You just copied his code completely...
pawn Код:
stock giveWeaponToAllPlayers(weaponid, ammo) {
foreach(Player, x) {
GivePlayerWeapon(x, weaponid, ammo);
}
return 1;
}