No experience with textdraw - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: No experience with textdraw (
/showthread.php?tid=149699)
No experience with textdraw -
Andy_McKinley - 23.05.2010
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.
Re: No experience with textdraw -
Jay. - 23.05.2010
Try wiki. That has loads of the funtions you can do with Textdraws
Re: No experience with textdraw -
Andy_McKinley - 23.05.2010
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?
Re: No experience with textdraw -
Jay. - 23.05.2010
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/
Re: No experience with textdraw -
Andy_McKinley - 23.05.2010
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?
Re: No experience with textdraw -
Jay. - 23.05.2010
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
Re: No experience with textdraw -
Andy_McKinley - 23.05.2010
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
Re: No experience with textdraw -
Jay. - 23.05.2010
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
Re: No experience with textdraw -
Andy_McKinley - 23.05.2010
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 ?
Re: No experience with textdraw -
Jay. - 23.05.2010
Quote:
Originally Posted by DarkPhoenix
|
Ah your using 3a so maybe this?
http://forum.sa-mp.com/index.php?topic=143025.0