Hallo,
Ich habe das Problem das mein DutyPickup nicht erkannt wird wenn ich rein lauf
public OnPlayerPickUpDynamicPickup(playerid, pickupid)
{
	new hidx=0;
	while (hidx <= MAX_HERZ) {
		if(pickupid == hospitalherz[hidx]) {SetPlayerHealth(playerid, 100); return 1; } hidx++;
	}
	SendClientMessage(playerid,COLOR_GREEN,"PICK");
	if(PlayerInfo[playerid][pJob] == 1) { SendClientMessage(playerid,COLOR_GREEN,"PICK0");
		new pstring[256];
		new pidx=0;
		while (pidx <= MAX_PIZZADUTY) { SendClientMessage(playerid,COLOR_GREEN,"PICK1");
			if(pickupid == PizzaDuty[pidx]) {
				SendClientMessage(playerid,COLOR_GREEN,"PICK2");
				format(pstring, sizeof pstring, "Wähle eine Option aus!");
				ShowPlayerDialog(playerid,501,DIALOG_STYLE_MSGBOX,"{E2FF09}Job",pstring,"On-Duty","Off-Duty");
				return 1;
			}
			pidx++;
		}
	}
	return 1;
}
Es geht da er mir das Heal gibt aber mehr auch nicht also alles was danach ist gibt er nicht aus auch nicht das
SendClientMessage(playerid,COLOR_GREEN,"PICK");
Hat jemand von euch eine Idee ?
MFG
 
		 
		
		
	 
			
									
		