Wieso wird der Dialog nicht angezeigt ?
Code
if(dialogid == DIALOG_FCARS)
{
if(!response) return 1;
new fID = GetPlayerFrakID(playerid), count = -1;
for(new i=0; i<MAX_FRAC_VEHICLES; i++)
{
if(fracVehicle[i][e_fracID] != fID) continue;
count++;
if(count == listitem)
{
SetPVarInt(playerid,"fCarID",fracVehicle[i][e_vID]);
break;
}
}
ShowPlayerDialog(playerid,DIALOG_FCARS_LIST,DIALOG_STYLE_LIST,"Fraktions Car Verwaltung","","Weiter","Abbruch");
return 1;
}
Alles anzeigen