Playerdamage?
#1

Is it possible to change how much damage you do when you fight with your fists?
Reply
#2

Well it is possible. Like you do for the deagle and stuff. Just the id of the fists are 0 I think. It's the same thing like the deagles and such. Just ID of the fists are 0.
Reply
#3

Guess it is, you must use OnPlayerTakeDamage function.
Reply
#4

You can use OnPlayerTakeDamage for sure,

Example JUST AN EXAMPLE TO TAKE HEALTH WITHOUT TAKING ARMOR

pawn Code:
new Float:health = GetPlayerHealth(playerid);
if(GetPlayerWeaponID(playerid)==0)
{
    SetPlayerHealth(playerid,health-20);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)