26.11.2010, 23:18
pawn Код:
new gun = GetPlayerWeapon(playerid);
new ammo = -30;
RemovePlayerWeapon(playerid, gun);
PlayerInfo[playerid][pAmmo4] = ammo;
GivePlayerWeapon(playerid, gun, ammo);
PlayerInfo[playerid][pHadGun] = 1;
PlayerInfo[playerid][pHadGunID] = gun;