• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Window with options

Reaper7

dunno wat 2 rite here
Joined
Feb 18, 2011
Messages
133
Reaction score
1
Hey guys! ;)
Firstly, I have to say that I know, that the title may even more confuse you and I'm really sorry because of it, but stop crying and read the rest of this topic.

How'd you add some options to this function?:
PHP:
doShowTextDialog(cid, 2529, v)
And if you then click on the option which is shown in the window, script loads an action...
Hope you help, regards.
 
You can check luascript.cpp in sources, there you will find:
[cpp]doShowTextDialog(cid, itemid[, (text/canWrite)[, (canWrite/length)[, length]]])[/cpp]
 
No, no... I want a window which is like.... ehh, how should I explain that? Ohh, I know! For example, when you choose a channel (trade, msg, help etc.) - do you get it now?
 
Back
Top