Removal Life indicator, money, vest weapon - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Removal Life indicator, money, vest weapon (
/showthread.php?tid=652282)
Removal Life indicator, money, vest weapon -
Eripe - 07.04.2018
I have a question, is it possible to remove the original cash register, life, vest and this square checkout?
Re: Removal Life indicator, money, vest weapon -
ForCop - 07.04.2018
Quote:
Originally Posted by Eripe
I have a question, is it possible to remove the original cash register, life, vest and this square checkout?
|
I do not think it's possible.
Re: Removal Life indicator, money, vest weapon -
Lokii - 07.04.2018
Quote:
Originally Posted by Eripe
I have a question, is it possible to remove the original cash register, life, vest and this square checkout?
|
No but you can create new hp and armour bar over the original ones and money too
For hp you can use progress.inc cash just normL textdraws
And for the weapons you can create black box over it and use ur own speite
For the last one i dont see any reason except if you want to display gun sprite with colors
Re: Removal Life indicator, money, vest weapon -
Eripe - 08.04.2018
That's how I've done new HP text now, but I do not know how to make weapons show in the square, thank you for the responses I appreciate.
Re: Removal Life indicator, money, vest weapon -
Mugala - 08.04.2018
Quote:
Originally Posted by Eripe
That's how I've done new HP text now, but I do not know how to make weapons show in the square, thank you for the responses I appreciate.
|
you can create textdraws with PlayerTextDrawSetPreviewModel, which will have a model from weapon ID.
here is a wiki link -
https://sampwiki.blast.hk/wiki/PlayerTex...etPreviewModel
P.S. weapon ID is separate from Object ID.
here is a list for a weapons and its objects -
https://sampwiki.blast.hk/wiki/Weapons