how would i make this
#1

how would i make this because crazybob has this awesome menu thingy heres a pic





thanks
Reply
#2

Its made with textdraws.
Use this:

http://forum.sa-mp.com/showthread.ph...extdraw+editor

Easy to use.
Reply
#3

Quote:
Originally Posted by Stigg
Посмотреть сообщение
Its made with textdraws.

wow that must of taken agies ok well in textdraws how did he shadow the box?
Reply
#4

Quote:
Originally Posted by hadzx
Посмотреть сообщение
wow that must of taken agies ok well in textdraws how did he shadow the box?
Look at my first post.

Once you get the hang of it, you'll be able to stuff like that easily.
Reply
#5

You create a normal black box and set the alpha (opacity value) lower.
pawn Код:
0xFFFFFFFF // This is pure black
0xFFFFFF33 // This is transparent black
Reply
#6

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ thankyou!
Reply
#7

Good one Stigg.
Reply
#8

ok ive made it also how did he make it so when you type for example in the chatbox (1) it selects option 1 i know its on playertext lol thanks
Reply
#9

Ugh that's more complex.
You need to make a variable to know if the player is seeing a box, so make this
pawn Код:
isviewingbox[MAX_PLAYERS];
When the player is viweing the box (command or anything)
pawn Код:
isviewingbox[playerid] = 1;
Then OnPlayerText
pawn Код:
new textval = strval(text[0]);
if (textval == 1 && isviewingbox[playerid] == 1)
{
      SendClientMessage(playerid, 0xFFFFFFAA, " You choosen option 1");
}
I don't know if it gonna work but at least you have got the idea
And remember to set the variable to 0 when player box is hidden
Reply
#10

Quote:
Originally Posted by admantis
Посмотреть сообщение
Ugh that's more complex.
You need to make a variable to know if the player is seeing a box, so make this
pawn Код:
isviewingbox[MAX_PLAYERS];
When the player is viweing the box (command or anything)
pawn Код:
isviewingbox[playerid] = 1;
Then OnPlayerText
pawn Код:
new textval = strval(text[0]);
if (textval == 1 && isviewingbox[playerid] == 1)
{
      SendClientMessage(playerid, 0xFFFFFFAA, " You choosen option 1");
}
I don't know if it gonna work but at least you have got the idea
And remember to set the variable to 0 when player box is hidden
just thort of this wrote most of it but might as well C&P It thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)