• 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 doPlayerPopupFYI show custom buttons

Peacy

Member
Joined
Mar 20, 2008
Messages
488
Reaction score
10
Location
The Netherlands
Hi,

I was wondering if it's possible to give the Popup screen (doPlayerPopupFYI) two custom buttons. For example button1: "Follow tutorial". Button2: "Cancel".

And if that is achievable I'd like to check whether the player pressed button1 or button2


Thanks in advance,
Peacy
 
Can be done with: doPlayerAddDialog(dialog, dialogId, cid, callback)
Version 9.7+
An example file is in your data/actions/scripts folder (newer revs)
 
Back
Top