No experience with textdraw
#1

Hello! I have no experience with textdraw! Could someone help me, I need a link of a good tutorial to start creating textdraws.
Well, I know how to add textdraws but I don't know to set textdraw above health bar for example.
Reply
#2

Try wiki. That has loads of the funtions you can do with Textdraws

Reply
#3

Quote:
Originally Posted by (Jay)
Try wiki. That has loads of the funtions you can do with Textdraws

I lost link of SA-MP wiki. It was www.wiki.sa-mp.com, wasn't it?
Reply
#4

Quote:
Originally Posted by DarkPhoenix
Quote:
Originally Posted by (Jay)
Try wiki. That has loads of the funtions you can do with Textdraws

I lost link of SA-MP wiki. It was www.wiki.sa-mp.com, wasn't it?
Ye wrong link its https://sampwiki.blast.hk/
Reply
#5

Alright I searched for Textdraw but I can't find what I want. How can I add textdraw bottom left of my screen, how do I get X,Y,Z?
Reply
#6

Quote:
Originally Posted by DarkPhoenix
Alright I searched for Textdraw but I can't find what I want. How can I add textdraw bottom left of my screen, how do I get X,Y,Z?
Alright then. Top of script new Text: YourTextdrawname;


under OnGamemodeInt

YourTextdrawname = CreateTextDraw(x,y,z,"Hello this is an example");



Then when you want it to show add it under the callback


for example if you wanted it to show on OnPlayerSpawn put


Under it TextDrawShowForPlayer(playerid,YourTextdrawname);


Oh & Here are the coords for the bottom screen left hand side

1.000000,425.000000
Reply
#7

Quote:
Originally Posted by (Jay)
Quote:
Originally Posted by DarkPhoenix
Alright I searched for Textdraw but I can't find what I want. How can I add textdraw bottom left of my screen, how do I get X,Y,Z?
Alright then. Top of script new Text: YourTextdrawname;


under OnGamemodeInt

YourTextdrawname = CreateTextDraw(x,y,z,"Hello this is an example");



Then when you want it to show add it under the callback


for example if you wanted it to show on OnPlayerSpawn put


Under it TextDrawShowForPlayer(playerid,YourTextdrawname);


Oh & Here are the coords for the bottom screen left hand side

1.000000,425.000000
Well, I know how to add textdraw in my script and when I want to show and hide, you name it but I want to know how did you get the coords? The bottom left was just an example! :P
Reply
#8

Quote:
Originally Posted by DarkPhoenix
Quote:
Originally Posted by (Jay)
Quote:
Originally Posted by DarkPhoenix
Alright I searched for Textdraw but I can't find what I want. How can I add textdraw bottom left of my screen, how do I get X,Y,Z?
Alright then. Top of script new Text: YourTextdrawname;


under OnGamemodeInt

YourTextdrawname = CreateTextDraw(x,y,z,"Hello this is an example");



Then when you want it to show add it under the callback


for example if you wanted it to show on OnPlayerSpawn put


Under it TextDrawShowForPlayer(playerid,YourTextdrawname);


Oh & Here are the coords for the bottom screen left hand side

1.000000,425.000000
Well, I know how to add textdraw in my script and when I want to show and hide, you name it but I want to know how did you get the coords? The bottom left was just an example! :P
All right then i sergest using a Textdraw editor. it's a easy way to see and design your own Textdraw
Reply
#9

Quote:
Originally Posted by (Jay)
All right then i sergest using a Textdraw editor. it's a easy way to get the coords.
This one for example; http://forum.sa-mp.com/index.php?topic=29132.0 ?
Reply
#10

Quote:
Originally Posted by DarkPhoenix
Quote:
Originally Posted by (Jay)
All right then i sergest using a Textdraw editor. it's a easy way to get the coords.
This one for example; http://forum.sa-mp.com/index.php?topic=29132.0 ?
Ah your using 3a so maybe this?

http://forum.sa-mp.com/index.php?topic=143025.0

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)