how can i fix this?
#1

i have
pawn Код:
ShowPlayerDialog(playerid, DIALOG_DEALER_MENU, DIALOG_STYLE_LIST, "Weapon Menu", "Silenced 9mm\t\t$2500\nTec9\t\t$1000\nS-O Shotgun\t\t$3500\nSniper Rifle\t\t$15000\nAk47\t\t$8000\nArmor\t\t$500\n3 Blocks of C4\t\t$3500\nParachute\t\t$10000\nM4\t\t$1000\nRifle\t\t$7000\nDesert Eagle\t\t$5000", "Buy", "Exit");
it shows as
M4 5000
Ak-47 3000
Armour 8000
etc..

but i want to it as in one line..
pawn Код:
M4      5000
Ak-47   3000
Armour  8000
Reply
#2

Use \r

pawn Код:
ShowPlayerDialog(playerid, DIALOG_DEALER_MENU, DIALOG_STYLE_LIST, "Weapon Menu", "Silenced 9mm\r\$2500\nTec9\r\$1000\nS-O Shotgun\r\$3500\nSniper Rifle\r\$15000\nAk47\r\$8000\nArmor\r\$500\n3 Blocks of C4\r\$3500\nParachute\r\$10000\nM4\r\$1000\nRifle\r\$7000\nDesert Eagle\r\$5000", "Buy", "Exit");
try
Reply
#3

PHP код:
ShowPlayerDialog(playeridDIALOG_DEALER_MENUDIALOG_STYLE_LIST"Weapon Menu""Silenced 9mm   $2500\r\nTec9   $1000\r\nS-O Shotgun   $3500\r\nnSniper Rifle   $15000\r\nAk47   $8000\r\nArmor   $500\r\nBlocks of C4   $3500\r\nParachute   $10000\r\nM4   $1000\r\nRifle   $7000\r\nDesert Eagle   $5000""Buy""Exit"); 
Reply
#4

Quote:
Originally Posted by Matanel
Посмотреть сообщение
PHP код:
ShowPlayerDialog(playeridDIALOG_DEALER_MENUDIALOG_STYLE_LIST"Weapon Menu""Silenced 9mm   $2500\r\nTec9   $1000\r\nS-O Shotgun   $3500\r\nnSniper Rifle   $15000\r\nAk47   $8000\r\nArmor   $500\r\nBlocks of C4   $3500\r\nParachute   $10000\r\nM4   $1000\r\nRifle   $7000\r\nDesert Eagle   $5000""Buy""Exit"); 
That will just move everything forward, not just the price, and use [ pawn] [ /pawn] (without spaces)
Reply
#5

Quote:
Originally Posted by Mean
Посмотреть сообщение
That will just move everything forward, not just the price, and use [ pawn] [ /pawn] (without spaces)
I prefer to put the price far away weapons.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)