Does SetPlayerSkillLevel affect weapon Damage?
#1

title says all?
Reply
#2

use OnPlayerTakeDamage callback

PHP код:
public OnPlayerTakeDamage(playeridissueridFloatamountweaponid)
{
    if(
issuerid != INVALID_PLAYER_ID)
    {
        if(
weaponid == 34)// id weapon
        
{
            
SetPlayerHealth(playerid50.0);
            if (
GetPlayerHealth(playerid,health) < 50.0)
           { 
                  
SetPlayerHealth(playerid0.0);
           }
        } 
// two shoot to kill player 
    
}
    return 
1;

Reply
#3

thanks!!
Reply
#4

The answer is yes,
For example:
If you have sawn off shotgun and you shoot with it WITH wep skills then you will shoot double as much then without wep skills, meaning you give twice as much damage too.
Reply
#5

@Apenmeeuw: it does not affect the damage per bullet just the amount of ammo you can carry (two weapons) and shoot them at the same time
Reply
#6

Thats right, 2 guns give more damage than 1 gun, because it van shoot double as much then.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)