Using functions and variables in dialogs
#1



Can I get an example code for something along the lines of this? I'm just looking to understand how they did something like this through the style of dialog used.

PHP Code:
ShowPlayerDialog(playeriddialogidDIALOG_STYLE_TABLIST_HEADERS"Buy Weapon",
"Weapon\tPrice\tAmmo\n\
Deagle\t$5000\t100\n\
Sawnoff\t$5000\t100\n\
Pistol\t$1000\t50"
// Etc.
"Select""Cancel"); 
How can we use things like GetPlayerName and our custom functions. Haven't worked with dialogs in a long time.
Reply


Messages In This Thread
Using functions and variables in dialogs - by aoky - 28.09.2017, 16:42
Re: Using functions and variables in dialogs - by raydx - 28.09.2017, 16:45
Re: Using functions and variables in dialogs - by aoky - 28.09.2017, 16:47
Re: Using functions and variables in dialogs - by raydx - 28.09.2017, 16:57

Forum Jump:


Users browsing this thread: 1 Guest(s)