need help with textdraw.
#1

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.
Reply
#2

Use a textdraw editor.

https://sampforum.blast.hk/showthread.php?tid=376758
https://sampforum.blast.hk/showthread.php?tid=543002
Reply
#3

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
Reply
#4

Код:
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)
Reply
#5

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.
Reply
#6

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?
Reply
#7

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
Reply
#8

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
Reply
#9

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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)