Detecting holding a weapon and using it at the same time
#5

Quote:
Originally Posted by Whatname
Посмотреть сообщение
i thought you mean something else you can use this:

PHP код:

public OnPlayerGiveDamage(playeriddamagedidFloatamountweaponidbodypart)
{
      if(
weaponid >= && weaponid <= 39)
      {
           
//code
      
}
      return 
1;

I already use this but the problem is, player is holding a weapon in hand but he isn't shooting with it he is hitting with it.

So, when the player hits with a weapon it still does a custom damage, I want it to work just like normal hitting, using fist.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)