Player Names in Dialog Menu
#1

Hey I was wondering how you would make a dialog to show all the online players names, I was wanting to use it for my banking system and maybe for /give. Instead of typing in a player name or id just select it from the list in a dialog. I know it is possible I have seen it done before. Thanks for any replies.
Reply
#2

Woops xD
bad solution
Reply
#3

It could take some time to create that.

Why not use

pawn Код:
public OnPlayerClickPlayer(playerid, clickedplayerid, source) //it is used when a player clicks another player in the playerlist ("tablist")
{
    return 1;
}
PS: yay, 200 posts xD

Riz
Reply
#4

Well...not quite. I want you to be able to do a command at the bank and pull up all the names in a dialog list similar to the scoreboard menu, without using the scoreboard...if that makes sense.
Reply
#5

it makes sence allright , you are asking an interesting question as well.

The basics would be a for loop and within a format(string,sizeof(string),"%s\n",PlayerName(i)) ;

but I'm not wake enough atm to think even furder, don't even know if I could do it.

Let's ask for some more experienced help with this post?

Other scripters please respond / help.

PS: I'll be back
Reply
#6

Ok, thank you. Any help would be appretiated. I think I have a friend that knows. I'll ask him about it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)