public OnPlayerPickUpPickup(playerid,pickupid)
{
if(pickupid == EssenPickup[0] || pickupid == EssenPickup[1] || pickupid == EssenPickup[2])
{
GameTextForPlayer(playerid,"~g~/menu",4000,3);
}
if(pickupid == KLEIDUNG_PRO)
{
if(PlayerToPoint(3.0,playerid,199.0634,-128.0607,1003.5152))
{
ShowPlayerDialog(playerid,DIALOG_KLEIDUNG_PRO,DIALOG_STYLE_LIST,"Pro Labs","Orange 12 Preis: 50$\nRockstar Grey Preis: 30$\nBase 5 Preis: 35$","Kaufen","Abbrechen");
}
}
if(AtATM(playerid))
{
//OnPlayerCommandText(playerid, "/bankmenue");
ShowPlayerDialog(playerid, DIALOG_ATM, DIALOG_STYLE_LIST, "Bankterminal", "Geld einzahlen\nGeld auszahlen\nKontoauszug\nAusrauben", "Auswählen", "Abbrechen");
}
if(pickupid == RHauswahl)
{
if(PlayerToPoint(3.0,playerid,361.8302,173.5957,1008.3828))
{
ShowPlayerDialog(playerid,RHauswahl1,DIALOG_STYLE_LIST,"Was möchtest du?","Fuehrerschein\nPersonalausweiß","Auswählen","Abbrechen");
}
}
if(pickupid == KLEIDUNG_ZIP)
{
if(PlayerToPoint(3.0,playerid,181.2543,-91.6659,1002.0234))
{
ShowPlayerDialog(playerid,DIALOG_KLEIDUNG_ZIP,DIALOG_STYLE_LIST,"ZIP","Schwarzer Anzug&Rote Krawatte Preis: 100$\nPfarrer Anzug Preis: 300$\nCobaine-Style Preis: 200$\nSchwarzer Anzug Preis: 100$\nBlaue Jacke Preis: 120$\nBlauer Gestreifter Anzug Preis: 180$","Kaufen","Abbrechen");
}
}
if(pickupid == Stadion)
{
new sstring[123];
format(sstring, sizeof(sstring), "RundenRennen Preis: %d$\nKickstart Preis: %d$\nDerby Preis: %d$\nMotorCross Preis: %d$",SBizzInfo[16][sbEntranceCost],SBizzInfo[17][sbEntranceCost],SBizzInfo[18][sbEntranceCost],SBizzInfo[19][sbEntranceCost]);
ShowPlayerDialog(playerid,DIALOG_STADION,DIALOG_STYLE_LIST,"Los Santos Stadion",sstring,"Betreten","Abbrechen");
}
if(pickupid == H_Pickup)
{
if(PickupBenutzen==false)
{
SendClientMessage(playerid,0x999999FF,"Benutze /rentcar");
}
if(PickupBenutzen==true)
{
ShowPlayerDialog(playerid,900,DIALOG_STYLE_LIST,"Autofarben","Schwarz\nBlau\nRot\nGrün\nGelb\nRosa\nGrau\nHell-Blau\nHell-Rot\nHell-Grün\nHell-Grau\nWeiß","Auswählen","Abbrechen");
}
}
Wie müsste ich das da ändern?