27.06.2012, 00:41
Quote:
You would have to make these three string variables global, and it would work only for up to 60 pd members. This is only for those online. I haven't tested it but it should work.
|
it will always show only the first dialog list.
no need for the global strings at all!
it will not show offline players
@topic
it is better to store the "page" index in a global per player var
and build the string from that index.
and use that in OnDialogResponse
to build the next dialog to be displayed.
if i get time to make a small example i will post it, but its not likely i will have the time right now.
i would also store the users online state in the database
to avoid looping threw them to check if they are online or not.
its not hard but could be very inefficient if not done correctly.