dialog formatting
#4

Alright, let's check your screenshot. You can see you first line is the HEADER of your dialog. Interesting.
What type of dialog we have where an header is required? (Taken from a_samp.inc)
// Player GUI Dialog
PHP код:
#define DIALOG_STYLE_MSGBOX                0
#define DIALOG_STYLE_INPUT                1
#define DIALOG_STYLE_LIST                2
#define DIALOG_STYLE_PASSWORD            3
#define DIALOG_STYLE_TABLIST            4
#define DIALOG_STYLE_TABLIST_HEADERS    5 
Yes, it's the style 5.
For some unknown reasons your prefer use 5 instead of DIALOG_STYLE_TABLIST_HEADERS which isn't the best option but anyway, your problem is here. Take the style 4 which doesn't require an header.

PHP код:
new helps[600];
for(new 
isizeof(hdia); i++)
    
strcat(helpshdia[i]); 
Reply


Messages In This Thread
dialog formatting - by rhash - 19.01.2018, 18:54
Re: dialog formatting - by DeathCore - 19.01.2018, 19:43
Re: dialog formatting - by rhash - 19.01.2018, 21:21
Re: dialog formatting - by Dayrion - 20.01.2018, 08:37

Forum Jump:


Users browsing this thread: 1 Guest(s)