01.09.2016, 16:40
Код:
CMD:gub(playerid) { new ammo2, weapon=0; GetPlayerWeaponData(playerid, 2, weapon, ammo2); if(weapon!=22 && weapon!=23 && weapon!=24) { GivePlayerWeapon(playerid, 24, 3); } else { new string[99]; format(string, sizeof(string), "Weapon slot taken %i", weapon); SendClientMessage(playerid, -1, string); } return 1; }