No bullets weapon show.
#1

Hay boyz, i have searched in a forum but i can't find nothing about this. I need to know how to show an weapon with 0 ammo equiped. Thanks for read. (Y)
Reply
#2

You can just give them a gun with 1 bullet and desync any bullets and then reset it. (Assuming it's not a melee weapon!)

pawn Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
     if(FakeGun[playerid] == true)
     {
          ResetPlayerWeapons(playerid);
          GivePlayerWeapon(playerid, weapon, 1);
          return 0; // - Stop/Desync the bullet.
     }
     return true;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)