Little Help - 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: Little Help (
/showthread.php?tid=349954)
Little Help -
Sanady - 10.06.2012
How people create this?That Heard
Re: Little Help -
WillyP - 10.06.2012
Textdraws.
Re: Little Help -
Sanady - 10.06.2012
Quote:
Originally Posted by [FU]Victious
Textdraws.
|
aha nice answer.But How??Texture or what??
Re: Little Help -
WillyP - 10.06.2012
Quote:
Originally Posted by Sanady
aha nice answer.But How??Texture or what??
|
Probably GetPlayerHealth, setting a string with the '100', not sure about the heart image though, maybe something new added in 0.3d/e. I wouldn't know as I haven't explored the new objects yet.
Re: Little Help -
Sanady - 10.06.2012
Quote:
Originally Posted by [FU]Victious
Probably GetPlayerHealth, setting a string with the '100', not sure about the heart image though, maybe something new added in 0.3d/e. I wouldn't know as I haven't explored the new objects yet.
|
I want to know how did he create that heart.
Re: Little Help -
WillyP - 10.06.2012
Quote:
Originally Posted by Sanady
I want to know how did he create that heart.
|
Maybe an ingame image. I'm not sure, I haven't explored that area.
Re: Little Help -
newbienoob - 10.06.2012
https://sampforum.blast.hk/showthread.php?tid=274064
Re: Little Help -
Sanady - 10.06.2012
Quote:
Originally Posted by newbienoob
|
That tool giving big lags...so no.It must be textdraw or I don`t know.Someone else know it?Please reply..
Re: Little Help -
Randy More - 10.06.2012
It's a textdraw as you were told before, however it should be done just like this..
pawn Код:
new Text:heart;
heart = TextDrawCreate(coordinates, coordinates, "In here, you should place the name of the texture you want");
TextDrawFont(heart, whatever you pick);
TextDrawTextSize(heart, size, size);
TextDrawUseBox(heart, disable/enable);
You will find a list and more information about the textures here.
Re: Little Help -
FalconX - 10.06.2012
Quote:
Originally Posted by Randy More
It's a textdraw as you were told before, however it should be done just like this..
pawn Код:
new Text:heart; heart = TextDrawCreate(coordinates, coordinates, "In here, you should place the name of the texture you want"); TextDrawFont(heart, whatever you pick); TextDrawTextSize(heart, size, size); TextDrawUseBox(heart, disable/enable);
You will find a list and more information about the textures here.
|
He is right.