Textdraw Menu ?
#1

How to make a textdraw menu like for example the Textdraw is :- Please Choose A Skill 1.Rapist 2.pickpocket etc etc and then i will press 1 then my skill will be rapist like this how to make it ? Any include for it ? Or anything ?
Reply
#2

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

You need you check this thread, It gives an in depth view of how to make a textdraw: https://sampforum.blast.hk/showthread.php?tid=328267

Regards,
thomaswilliams
Reply
#4

bro zeus not clickable text draw WAit something like this
Reply
#5

use a text draw editor to make it
do like this--
pawn Код:
new bool:IsViewingMenu[MAX_PLAYERS];//on top

IsViewingMenu[playerid] = true;// when u show the text draw to player

IsViewingMenu[playerid] = false;//when u hide the textdraw

OnPlayetText(playerid, text[])
{


if(IsViewingMenu[playerid])
{
new intvar = strval(text);
switch(intvar)
{
case 1://menu item 1 that is if he types 1
case 2://same as above
//.....and so on

default:return 1;//that is if he types something related to chat or the itme not on menu
}
return 0;
}


return 1;
}
Reply
#6

Thanks for the help )
Reply
#7

how to make new line in text draw ? Like /n ? To make like this 1.Rapist
2...
Reply
#8

i thin its
"~n~"
Reply
#9

Nope Not working ... ITs coming Please Choose A Skill ... ~n~
Reply
#10

It's "\n" not /n
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)