[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
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
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
Looks cool! nice one
|
Quote:
Originally Posted by PolloLoko
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
simple but nice 
|
Quote:
Originally Posted by Alex Magaсa
Simple & good!
|
Quote:
Originally Posted by GamingPro
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 ._.