How To Fix This
#5

Well, try this, never tested
Код:
public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost)
{
    new s[20], Float:Armour;
    if(GetPlayerArmour(Target, Armour) >= 1)
    {
            format(s, 20, "+Damage %d", ArmourLost);
    }
    else
    {
           format(s, 20, "+Damage %d", HealthLost);
    }
    TextDrawSetString(GiveDamage[Target], s);
    TextDrawShowForPlayer(Shooter, GiveDamage[Target]);
    PlayerPlaySound(Shooter,17802,0.0,0.0,0.0);
    SetTimerEx("DestruirTextoDraw", 1000, false, "i", Shooter);
    return 1;
}
Edit: i edited the code of JustBored.
Reply


Messages In This Thread
How To Fix This - by [IND]Crazy - 28.06.2013, 01:57
Respuesta: How To Fix This - by JustBored - 28.06.2013, 02:23
Re: How To Fix This - by [IND]Crazy - 28.06.2013, 02:58
Re: Respuesta: How To Fix This - by [IND]Crazy - 28.06.2013, 03:58
Re: How To Fix This - by GeniusPobs - 28.06.2013, 04:17
Respuesta: How To Fix This - by JustBored - 28.06.2013, 04:21

Forum Jump:


Users browsing this thread: 1 Guest(s)