[Tutorial] OnPlayerTakeDamage(..)
#3

Oops, I forgot :
pawn Code:
SetTimerEx("DamagedHP", 1500, false, "i", playerid); // create a timer to display the DAMAGE ICONS.
SetTimerEx("DamagedAP", 1500, false, "i", playerid);  // create a timer to display the DAMAGE ICONS.
pawn Code:
forward DamagedHP(playerid);
public DamagedHP(playerid)
{
    RemovePlayerAttachedObject(playerid, 2); // we remove the icons from his head after 1,5 seconds.
}
forward DamagedAP(playerid);
public DamagedAP(playerid)
{
    RemovePlayerAttachedObject(playerid, 1); // we remove the icones from his head after 1,5 seconds.
}
Reply


Messages In This Thread
OnPlayerTakeDamage(..) - by Matnix - 05.09.2013, 18:34
Re: OnPlayerTakeDamage(..) - by hossa - 05.09.2013, 18:46
Re : OnPlayerTakeDamage(..) - by Matnix - 05.09.2013, 19:12
Re: OnPlayerTakeDamage(..) - by P1c4550 - 06.09.2013, 08:08
Re: OnPlayerTakeDamage(..) - by AaronKillz - 06.09.2013, 08:11
Re: OnPlayerTakeDamage(..) - by Omar55555 - 10.09.2013, 12:27
Re: OnPlayerTakeDamage(..) - by Kar - 10.09.2013, 23:02
Re : OnPlayerTakeDamage(..) - by Matnix - 10.09.2013, 23:09
Re: OnPlayerTakeDamage(..) - by DanishHaq - 10.09.2013, 23:22
Re : OnPlayerTakeDamage(..) - by Matnix - 28.09.2013, 20:18

Forum Jump:


Users browsing this thread: 2 Guest(s)