SA-MP Forums Archive
[FilterScript] Simple Textdraw Health & Armour. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Simple Textdraw Health & Armour. (/showthread.php?tid=547563)



Simple Textdraw Health & Armour. - HY - 23.11.2014

Preview:





Download:

- Pastebin;
- Solidfiles;



Re: Simple Textdraw Health & Armour. - LeXuZ - 23.11.2014

Looks cool! nice one


Respuesta: Simple Textdraw Health & Armour. - PolloLoko - 23.11.2014

To not force OngameModeInt
- Good job

pawn Code:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
Timer = SetTimer("Update", 50, true);
return 1;
}



Re: Respuesta: Simple Textdraw Health & Armour. - zT KiNgKoNg - 23.11.2014

Quote:
Originally Posted by PolloLoko
View Post
To not force OngameModeInt
- Good job

pawn Code:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
Timer = SetTimer("Update", 50, true);
return 1;
}
What the point of having a function like OnPlayerTakeDamage(playerid, issuerid, amount, weaponid) when you're using a timer (this is a really stupid way of doing it, unless you want to check 100x more things such as position ect. Why waste the function mentioned above just to put a timer in it (Seen as fall damage is classed as a weapon')


Re: Respuesta: Simple Textdraw Health & Armour. - HY - 23.11.2014

Quote:
Originally Posted by LeXuZ
View Post
Looks cool! nice one
Quote:
Originally Posted by PolloLoko
View Post
To not force OngameModeInt
- Good job

pawn Code:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
Timer = SetTimer("Update", 50, true);
return 1;
}
Thanks.


Re: Simple Textdraw Health & Armour. - M0HAMMAD - 23.11.2014

simple but nice


Re: Simple Textdraw Health & Armour. - Alex Magaсa - 24.11.2014

Simple & good!


Re: Simple Textdraw Health & Armour. - GamingPro - 24.11.2014

Nice and simple I like it!


Re: Simple Textdraw Health & Armour. - HY - 24.11.2014

Quote:
Originally Posted by M0HAMMAD
View Post
simple but nice
Quote:
Originally Posted by Alex Magaсa
View Post
Simple & good!
Quote:
Originally Posted by GamingPro
View Post
Nice and simple I like it!
Thank you all !


Re: Simple Textdraw Health & Armour. - ownager122 - 24.11.2014

Script not working tried it, went in game, screen got fucked.
added the script in a new pawno no errors but in game it didn't show up ._.