if(dialogid == ELEKTRO) {
if(response == 1) return ShowPlayerDialog(playerid,kassendialog,DIALOG_STYLE_LIST,"Bitte waehle aus.","Körperpflege\nElektrogeräte","OK","Abbrehcen");
if(response == 2) {
if(listitem == 0 && GetPlayerMoney(playerid) >=4000 ) { GivePlayerMoney(playerid, -4000); GameTextForPlayer(playerid,"~b~Rolex ~r~erworben",1000,4); PlayerInfo[playerid][puhr] = PlayerInfo[playerid][puhr] +1; }
if(listitem == 1 && GetPlayerMoney(playerid) >=5000 ) { GivePlayerMoney(playerid, -5000); GameTextForPlayer(playerid,"~b~Breitling ~r~erworben",1000,4); PlayerInfo[playerid][puhr] = PlayerInfo[playerid][puhr] +1; }
if(listitem == 2 && GetPlayerMoney(playerid) >=3700 ) { GivePlayerMoney(playerid, -3700); GameTextForPlayer(playerid,"~b~Colosseum ~r~erworben",1000,4); PlayerInfo[playerid][puhr] = PlayerInfo[playerid][puhr] +1; }
if(listitem == 3 && GetPlayerMoney(playerid) >=700 ) { GivePlayerMoney(playerid, -700); GameTextForPlayer(playerid,"~b~Billig Uhr ~r~erworben",1000,4); PlayerInfo[playerid][puhr] = PlayerInfo[playerid][puhr] +1; }
if(listitem == 4 && GetPlayerMoney(playerid) >=1300 ) { GivePlayerMoney(playerid, -1300); GameTextForPlayer(playerid,"~b~Swatch ~r~erworben",1000,4); PlayerInfo[playerid][puhr] = PlayerInfo[playerid][puhr] +1; }
}
return 1;
}
Hier bekomm ich immer 26 Errors... Warum funktzuniert das nicht?