Posts: 97
Threads: 22
Joined: Sep 2007
Reputation:
0
Can anyone help me do a ShowPlayerDialog
And the Dialog lists everyone ingame ...
Like if 3 people were ingame
Names :
Ryan
Tim
Junia
When the dialog comes up it would list
Ryan
Tim
Junia
Thank you,
Kaleem
Posts: 125
Threads: 8
Joined: Nov 2009
Reputation:
0
the TAB-Button does that... !?
Posts: 97
Threads: 22
Joined: Sep 2007
Reputation:
0
I know, i mean I am using it for a command ...
So I want to be able to do things for each specific player that I click with OnDialogResponce
Posts: 97
Threads: 22
Joined: Sep 2007
Reputation:
0
lol i know but I want to be able to use ShowDialogForPlayer and OnDialogResponce because I want this to work through a command
Posts: 1,466
Threads: 7
Joined: Jun 2009
Reputation:
0
Loop all players then GetPlayerName?
Posts: 1,896
Threads: 102
Joined: Oct 2008
Quote:
Originally Posted by [CRP
Kaleem ]
I know, i mean I am using it for a command ...
So I want to be able to do things for each specific player that I click with OnDialogResponce
|
OnPlayerClickPlayer using the tab menu
https://sampwiki.blast.hk/wiki/OnPlayerClickPlayer
Posts: 15
Threads: 0
Joined: Oct 2007
Reputation:
0
easy, just loop through all players, add their name to a string and show them as list in a dialog.
in OnPlayerDialog......: get the input, loop through all players and check the name (no player found with the name -> player disconnected while the dialog is shown)
done ^^