need help 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)
+--- Thread: need help with textdraw. (
/showthread.php?tid=598411)
need help with textdraw. -
WildWave - 12.01.2016
Hey, so i programming now an Day Z Mode, and im kinda socks with design textdraws.
I need to make "Skin TextDraw" but i dont know how to design it perfectly.
If someone would help me or teach me how to design "Skin TextDraw" It will be very helpfull.
Thanks.
Re: need help with textdraw. -
FreAkeD - 12.01.2016
Use a textdraw editor.
https://sampforum.blast.hk/showthread.php?tid=376758
https://sampforum.blast.hk/showthread.php?tid=543002
Re: need help with textdraw. -
WildWave - 12.01.2016
Quote:
Originally Posted by FreAkeD
|
I know how to use it, but read again please, i dont know how to design an Skin textdraw.
https://sampwiki.blast.hk/wiki/TextDrawSetPreviewModel
Re: need help with textdraw. -
Runn3R - 12.01.2016
Код:
textdraw = TextDrawCreate(320.0, 240.0, "_");
TextDrawFont(textdraw, 5);
TextDrawUseBox(textdraw, 1);
TextDrawBoxColor(textdraw, 0x000000FF);
TextDrawTextSize(textdraw, 40.0, 40.0);
//TextDrawSetPreviewModel(textdraw, 411); //Display model 411 (Infernus)
TextDrawSetPreviewModel(textdraw, 1); //Display model 1 (CJ Skin)
Re: need help with textdraw. -
WildWave - 12.01.2016
Quote:
Originally Posted by Runn3R
Код:
textdraw = TextDrawCreate(320.0, 240.0, "_");
TextDrawFont(textdraw, 5);
TextDrawUseBox(textdraw, 1);
TextDrawBoxColor(textdraw, 0x000000FF);
TextDrawTextSize(textdraw, 40.0, 40.0);
//TextDrawSetPreviewModel(textdraw, 411); //Display model 411 (Infernus)
TextDrawSetPreviewModel(textdraw, 1); //Display model 1 (CJ Skin)
|
To
Design My friend.
Re: need help with textdraw. -
Runn3R - 12.01.2016
Show as a picture, what do you mean a skin design textdraw? LOL
Do you mean a GUI and a HUD and all that stuff?
Re: need help with textdraw. -
WildWave - 12.01.2016
Quote:
Originally Posted by Runn3R
Show as a picture, what do you mean a skin design textdraw? LOL
|
https://www.youtube.com/watch?v=HASo7pkHEQQ
look in the first seconds.
something like that
Re: need help with textdraw. -
Runn3R - 12.01.2016
Yeah that's a GUI.
Basically what you do is create multiple boxes near each other and make the boxes clickable and just place some models above the box that you won't set as clickable and there you go you track if the user has pressed the box with the OnPlayerClickTextDraw function and that way you can use multiple stuff with only one box. (thats how this dude in the video made it)
For the tutorials use the Search function bro
Re: need help with textdraw. -
WildWave - 12.01.2016
Quote:
Originally Posted by Runn3R
Yeah that's a GUI.
Basically what you do is create multiple boxes near each other and make the boxes clickable and just place some models above the box that you won't set as clickable and there you go you track if the user has pressed the box with the OnPlayerClickTextDraw function and that way you can use multiple stuff with only one box. (thats how this dude in the video made it)
For the tutorials use the Search function bro
|
Thank you dude, how do i know what GUI to put, i mean we have hud: and like that, where can i search for names?