nexiustailer / alternative-dialogs Goto Github PK
View Code? Open in Web Editor NEWDialogs with a new design
Home Page: https://pawn.wiki/index.php?/topic/29973-alternative-dialogs/
Dialogs with a new design
Home Page: https://pawn.wiki/index.php?/topic/29973-alternative-dialogs/
I noticed an issue that only happens with long list-type td dialogs. Clicking the "scroll down" button on the bottom right works; but clicking scroll back up does not.
Hello!,
I'm using your include for DIALOG_STYLE_LIST formatted dialogs and it is very good!.
Anyway I noticed 2 issues, I don't know if it's a conflict with my gamemode or an include issue.
When I press "ESC" and close an alt-dialog OnAltDialogReponse callback doesn't detect the "!response", it is only detected by pressing button "x" and BUTTON2 (right button) in the alt-dialog;
Dialogs with "info" like this (multiple string to one string, long string), are not displaying correctly (some list_lines are missing):
new stringas[1000];
new stringass[1200];
format(string, sizeof(string),"string");
if(MOTO(var)){
if(PLAYER_INFO[playerid][pVip] == 1) format(stringass,sizeof(stringass),"%s\n{FFFFFF}Lugar {63B8FF}%d{FFFFFF}: %s",stringas, contador,GetWeaponNameEx(EspacioBaul[var][contador]));
if(PLAYER_INFO[playerid][pVip] >= 2) format(stringass,sizeof(stringass),"%s\n{FFFFFF}Lugar {63B8FF}%d{FFFFFF}: %s\n{FFFFFF}Lugar {63B8FF}%d{FFFFFF}: %s",stringas, contador,GetWeaponNameEx(EspacioBaul[var][contador]),contador+1,GetWeaponNameEx(EspacioBaul[var][contador+1]));
if(PLAYER_INFO[playerid][pVip] > 0) ShowPlayerDialogEx(playerid, 26839, DIALOG_STYLE_LIST, "Maletero", stringass, "Sacar", "Salir");
}else{
if(counter == 2) format(stringas, sizeof(stringas), "Lugar {63B8FF}%d{FFFFFF}: %s \n{FFFFFF}Lugar {63B8FF}%d{FFFFFF}: %s\nLugar {63B8FF}%d{FFFFFF}: %s \n{FFFFFF}Lugar {63B8FF}%d{FFFFFF}: %s",contador,GetWeaponNameEx(EspacioBaul[var][contador]),contador+1,GetWeaponNameEx(EspacioBaul[var][contador+1]), contador+2,GetWeaponNameEx(EspacioBaul[var][contador+2]),contador+3,GetWeaponNameEx(EspacioBaul[var][contador+3])), contador += 4;
if(counter == 3) format(stringas, sizeof(stringas), "Lugar {63B8FF}%d{FFFFFF}: %s \n{FFFFFF}Lugar {63B8FF}%d{FFFFFF}: %s\nLugar {63B8FF}%d{FFFFFF}: %s \n{FFFFFF}Lugar {63B8FF}%d{FFFFFF}: %s\nLugar {63B8FF}%d{FFFFFF}: %s \n{FFFFFF}Lugar {63B8FF}%d{FFFFFF}: %s",contador,GetWeaponNameEx(EspacioBaul[var][contador]),contador+1,GetWeaponNameEx(EspacioBaul[var][contador+1]),contador+2,GetWeaponNameEx(EspacioBaul[var][contador+2]),contador+3,GetWeaponNameEx(EspacioBaul[var][contador+3]),contador+4,GetWeaponNameEx(EspacioBaul[var][contador+4]),contador+5,GetWeaponNameEx(EspacioBaul[var][contador+5])), contador += 6;
if(counter == 4) format(stringas, sizeof(stringas), "Lugar {63B8FF}%d{FFFFFF}: %s \n{FFFFFF}Lugar {63B8FF}%d{FFFFFF}: %s\nLugar {63B8FF}%d{FFFFFF}: %s \n{FFFFFF}Lugar {63B8FF}%d{FFFFFF}: %s\nLugar {63B8FF}%d{FFFFFF}: %s \n{FFFFFF}Lugar {63B8FF}%d{FFFFFF}: %s\nLugar {63B8FF}%d{FFFFFF}: %s \n{FFFFFF}Lugar {63B8FF}%d{FFFFFF}: %s",contador,GetWeaponNameEx(EspacioBaul[var][contador]),contador+1,GetWeaponNameEx(EspacioBaul[var][contador+1]),contador+2,GetWeaponNameEx(EspacioBaul[var][contador+2]),contador+3,GetWeaponNameEx(EspacioBaul[var][contador+3]),contador+4,GetWeaponNameEx(EspacioBaul[var][contador+4]),contador+5,GetWeaponNameEx(EspacioBaul[var][contador+5]),contador+6,GetWeaponNameEx(EspacioBaul[var][contador+6]),contador+7,GetWeaponNameEx(EspacioBaul[var][contador+7])), contador += 8;
if(PLAYER_INFO[playerid][pVip] == 0 && counter != 0) ShowPlayerDialogEx(playerid, 26839, DIALOG_STYLE_LIST, "Maletero", stringas, "Sacar", "Salir");
if(PLAYER_INFO[playerid][pVip] == 1) format(stringass,sizeof(stringass),"%s\n{FFFFFF}Lugar {63B8FF}%d{FFFFFF}: %s",stringas, contador,GetWeaponNameEx(EspacioBaul[var][contador]));
if(PLAYER_INFO[playerid][pVip] >= 2) format(stringass,sizeof(stringass),"%s\n{FFFFFF}Lugar {63B8FF}%d{FFFFFF}: %s\n{FFFFFF}Lugar {63B8FF}%d{FFFFFF}: %s",stringas, contador,GetWeaponNameEx(EspacioBaul[var][contador]),contador+1,GetWeaponNameEx(EspacioBaul[var][contador+1]));
if(PLAYER_INFO[playerid][pVip] > 0 && counter != 0) ShowPlayerDialogEx(playerid, 26839, DIALOG_STYLE_LIST, "Maletero", stringass, "Sacar", "Salir");
}
Dialog with missing items ScreenShot: https://ibb.co/7KGjpJq
Sorry for my bad english.
Best regards and thanks for your time!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.