Need Small Help
#2

Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
       if(issuerid != INVALID_PLAYER_ID && weaponid == 8)
          {
          new Float:HP;
        GetPlayerHealth(playerid, HP);
        SetPlayerHealth(playerid,HP-50.0);
        PlayerPlaySound(issuerid,17802,0.0,0.0,0.0);
        PlayerPlaySound(playerid,17802,0.0,0.0,0.0);
        }
return 1;
}
Try this?
Reply


Messages In This Thread
Need Small Help - by MBilal - 27.07.2014, 20:04
Re: Need Small Help - by David (Sabljak) - 27.07.2014, 20:11
Re: Need Small Help - by MBilal - 27.07.2014, 20:11
Re: Need Small Help - by TheKillZone - 27.07.2014, 20:14
Re: Need Small Help - by MBilal - 27.07.2014, 20:21
Re: Need Small Help - by David (Sabljak) - 27.07.2014, 21:40

Forum Jump:


Users browsing this thread: 1 Guest(s)