New line dialog style input

Статус
В этой теме нельзя размещать новые ответы.

Allex994

Новичок
Автор темы
13
0
Hello, i need help!
How to make another line on text
I need more lines, in pawno i have used "\n"

Код:
0B3B: samp show_dialog id 46 caption "{a4c639} Dialog name" text "{a4c639}- Enter your age: " button_1 "Next" button_2 "Close" style DIALOG_STYLE_INPUT

Example:

VFN9nLG.png
 

Romelo

dev.
Проверенный
540
624
CLEO:
:dialog
0AC8: 0@ = allocate_memory_size 64
0C11: memset destination 0@ value 0 size 64
0AD3: 0@ = format "Line 1%cLine 2%cLine 3.." 10 10
0B3B: samp show_dialog id 46 caption "{a4c639} Dialog name" text 0@ button_1 "Next" button_2 "Close" style DIALOG_STYLE_INPUT
0AC9: free_allocated_memory 0@
0B43: samp cmd_ret
 
Последнее редактирование:

DarkP1xel

Сила воли наше всё.
BH Team
3,635
4,961
CLEO:
:dialog
0AC6: 0@ = label @hex offset
0B3B: samp show_dialog id 46 caption "{a4c639} Dialog name" text 0@ button_1 "Next" button_2 "Close" style DIALOG_STYLE_INPUT
0AC9: free_allocated_memory 0@
samp.CmdRet()

:hex
hex
"{FFFFFF}Blast{0094c8}Hack.NET" A
"{FFFFFF}End" 00
end
Зачем 0AC9?
CLEO:
:dialog
0AC8: 0@ = allocate_memory_size 64
0C11: memset destination 0@ value 0 size 64
0AD3: 0@ = format "Line 1%cLine 2%cLine 3.." 10 10
0B3B: samp show_dialog id 46 caption "{a4c639} Dialog name" text 0@ button_1 "Next" button_2 "Close" style DIALOG_STYLE_INPUT
0AC9: free_allocated_memory 0@
0B43: samp cmd_ret
Это ужас.
 
Статус
В этой теме нельзя размещать новые ответы.