How To Fix This
#4

Quote:
Originally Posted by JustBored
Посмотреть сообщение
pawn Код:
public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost)
{
    new s[20], Float:Armour;
    if(GetPlayerArmour(Target, Armour) >= 1)
    {
            format(s, 20, "+Damage %.0f", ArmourLost);
    }
    else
    {
           format(s, 20, "+Damage %.0f", HealthLost);
    }
    TextDrawSetString(GiveDamage[Target], s);
    TextDrawShowForPlayer(Target, GiveDamage[Target]);
    PlayerPlaySound(Target,17802,0.0,0.0,0.0);
    SetTimerEx("DestruirTextoDraw", 1000, false, "i", Target);
    return 1;
}
hey i have one problem , i change Target to Shooter and it fine , but i have one problem in textdraw , the textdraw no showing outing damage , just showing 0 damage ,like this +Damage 0 , and that textdraw always showing in Target no in shooter . how to fix it .
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)