15.03.2014, 21:15
Preview
16.03.2014, 03:16
That's just using TextDrawSetPreviewModel and TextDrawSetSelectable.
23.03.2014, 05:41
What model is it and how can i do that?
23.03.2014, 05:43
23.03.2014, 06:00
I am going to add all the objects like that, how do i do that? like with pictures and so?
23.03.2014, 06:05
It's not simple.
First you need to create the static textdraws, i.e. everything apart from the boxes with objects in them.
Then you need to create the boxes with objects in them, using TextDrawSetPreviewModel, and make them selectable using TextDrawSetSelectable.
You should practise with simpler things first. Try making a single model in the middle of the screen. Once you've got that, make it clickable. Once you've got that, make a row of them.
First you need to create the static textdraws, i.e. everything apart from the boxes with objects in them.
Then you need to create the boxes with objects in them, using TextDrawSetPreviewModel, and make them selectable using TextDrawSetSelectable.
You should practise with simpler things first. Try making a single model in the middle of the screen. Once you've got that, make it clickable. Once you've got that, make a row of them.
23.03.2014, 06:11
And do SelectTextDraw(playerid, color); where u want to show the textdraw and CancelSelectTextDraw(playerid);
where u want to hide textdraw
And if u not able to click them then there might be a problem with TextDrawTextSize
where u want to hide textdraw
And if u not able to click them then there might be a problem with TextDrawTextSize
23.03.2014, 06:13
That is not what those functions do. They don't show/hide the textdraw. They show/hide the player's cursor so they can click on textdraws.
23.03.2014, 06:21
lol, i knew that, i was saying that wherever he show the clickable textdraw, he will need to do SelectTextDraw(playerid, color); so that cursor can appear for selection and vice versa
23.03.2014, 06:22
I see. I slightly misunderstood. You means he needs to use those functions when he shows/hides textdraws. I thought you were saying he should use those functions TO show/hide the textdraws.
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)