Weapon Damage
#1

How can i change the weapon damage?
Reply
#2

you can't :S
Reply
#3

Use OnPlayerTakeDamage.
Reply
#4

Put this under OnPlayerTakeDamage

Код:
	new Float:HP;
	GetPlayerHealth(playerid, HP);
	if(weaponid == change) SetPlayerHealth(playerid, HP-change); // change this to the weapon ID you want and how much health it will take from the other player per hit.
        return 1;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)