Mihai007 Posted March 12, 2018 Report Share Posted March 12, 2018 Imi da warningul asta, am incercat sa adaug o culoare la DIALOG_VIPNAMECOLORS, de ex ALB CMD:vipnamecolors(playerid, params[]) { ShowPlayerDialog(playerid, DIALOG_VIPNAMECOLORS, DIALOG_STYLE_LIST, "Culori", "Negru", "Alb", "Selecteaza", "Inchide"); } Am adaugat culoarea, dar nu era in lista asa ca am facut "Alb", si imi da acest warning. Cum pot rezolva? Quote Link to comment Share on other sites More sharing options...
0 Mihai007 Posted March 12, 2018 Author Report Share Posted March 12, 2018 Asa arata dialogul Quote Link to comment Share on other sites More sharing options...
0 StefanAdv Posted March 12, 2018 Report Share Posted March 12, 2018 (edited) CMD:vipnamecolors(playerid, params[]) { new string_colors[512]; format(string_colors, 256, "{FFFFFF}White\n{000000}Black\n"); ShowPlayerDialog(playerid, DIALOG_VIPNAMECOLOR, DIALOG_STYLE_LIST, "VIPNAME COLOR:", string_colors, "Select", "Cancel"); return 1; } stock serverColors(id) { new string[180]; switch(id) { case 0: string = "FFFFFF"; case 1: string = "000000"; } return string; } if(dialogid == DIALOG_VIPNAMECOLOR) { if(response) { if(!IsPlayerInAnyVehicle(playerid))return SCM(playerid, COLOR_LIGHTRED, "Nu te aflii intr-un vehicul!"); new save_color[256]; switch(listitem) { case 0: { CarInfo[OwnedVeh(vehicleid)][cVipTextColor] = 0; Aici faci functia sa-ti puna pe vehiculul respectiv numele cu acea culoare } } Incearca asa si vezi cum e! PS:Ai de definit multe si de facut eu ti-am dat baza de aici dezvolti tu succes! Edited March 12, 2018 by [i]Stefan 1 Quote Link to comment Share on other sites More sharing options...
0 Diversity Posted March 12, 2018 Report Share Posted March 12, 2018 ShowPlayerDialog(playerid, DIALOG_VIPNAMECOLORS, DIALOG_STYLE_LIST, "Culori", "Negru\nAlb", "Selecteaza", "Inchide"); 1 Quote Link to comment Share on other sites More sharing options...
0 DrooM. Posted March 12, 2018 Report Share Posted March 12, 2018 CMD:vipnamecolors(playerid, params[]) { ShowPlayerDialog(playerid, DIALOG_VIPNAMECOLORS, DIALOG_STYLE_LIST, "Culori", "Negru\nAlb\nRosu\nETC", "Selecteaza", "Inchide"); } 1 Quote Link to comment Share on other sites More sharing options...
0 @SanJay Posted March 16, 2018 Report Share Posted March 16, 2018 La 12.03.2018 la 16:02, DrooM. a spus: CMD:vipnamecolors(playerid, params[]) { ShowPlayerDialog(playerid, DIALOG_VIPNAMECOLORS, DIALOG_STYLE_LIST, "Culori", "Negru\nAlb\nRosu\nETC", "Selecteaza", "Inchide"); } Asta trebuie sa pui acolo. 1 1 Quote Link to comment Share on other sites More sharing options...
Question
Mihai007
Imi da warningul asta, am incercat sa adaug o culoare la DIALOG_VIPNAMECOLORS, de ex ALB
CMD:vipnamecolors(playerid, params[])
{
ShowPlayerDialog(playerid, DIALOG_VIPNAMECOLORS, DIALOG_STYLE_LIST, "Culori", "Negru", "Alb", "Selecteaza", "Inchide");
}
Am adaugat culoarea, dar nu era in lista asa ca am facut "Alb", si imi da acest warning.
Cum pot rezolva?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.