[FilterScript] [FS] PlayerList - V2.1 OUT
#21

You should also make it have a max amount of players shown at once, and let for multiple pages (page 1 would show players 0-20, page 2 would show 21-30, etc.) If you need an example on how to do that, I made an admin script back when GUIs were new.

Example Admin Panel Using Dialogs v2
( ShowPlayerList(playerid) -- Line 172 )
Reply
#22

Quote:
Originally Posted by Joe Staff
You should also make it have a max amount of players shown at once, and let for multiple pages (page 1 would show players 0-20, page 2 would show 21-30, etc.) If you need an example on how to do that, I made an admin script back when GUIs were new.

Example Admin Panel Using Dialogs v2
( ShowPlayerList(playerid) -- Line 172 )
You are saying that 'showing players'+ an option 'goto next page' to show more players is easier then scrolling down?
Or where you trying to give me solution for the size of the string?

I'm not realy following...

Grts

PS: shizzle, school is fireing at me with work, the update (or brainstorm) has to wait
Reply
#23

I understand that this:
Quote:
Originally Posted by Joe Staff
(page 1 would show players 0-20, page 2 would show 21-30, etc.)
is really hard to understand

But yeah, it's a solution so that if you have 500 players, they can all fit on the list without having names that are 8 characters long.
Reply
#24

Quote:
Originally Posted by Joe Staff
I understand that this:
Quote:
Originally Posted by Joe Staff
(page 1 would show players 0-20, page 2 would show 21-30, etc.)
is really hard to understand

But yeah, it's a solution so that if you have 500 players, they can all fit on the list without having names that are 8 characters long.
If I see this as a waste off scripting time... is that wrong? because, scrolling is still way more 'userfriendly' then next dialog next dialog next dialog... no?

I did understand you in how to create it but not why? .. still don't actually.

The string might be big but is that such a problem? or isn't there an easier way then other dialogs ?

PS: don't get me wrong, I appreciate your influence in this topic.

Grts Riz
Reply
#25

I'm saying that a full server can't use this because the string cuts off at 4096, with MAX_PLAYER_NAME (24) times MAX_PLAYERS (500) (totaling 12000)then you'll see where this gets cut off.
Reply
#26

I think I understand, and if I do, you are so right BUT not a lot of servers have 500 players (not sure)

and there is no other option? (

I'm reluctant to write all that code, but maybe that's because I'm tired and don't have very much time, I will review it in a few days.

In the mean time, don't stop responding !

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)