Hi,
ich hab' ein paar Pickups in meinen GM eingebaut, jedoch wenn ich reingehe passiert zwar das, was passieren soll, jedoch verschwindet das Pickup danach und ich kann nicht noch einmal reingehen.
Die Pickups:
mafia1shop = CreatePickup(1239, 23, -2722.0369,-321.2843,7.8438);
polizeishop = CreatePickup(1239, 23, -1619.2017,680.1966,7.1875);
fbishop = CreatePickup(1239, 23, -2446.6199,516.5007,30.2460);
bikersshop = CreatePickup(1239, 23, -1874.4880,-210.9240,18.3741);
OnPlayerPickUpPickup:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == polizeishop)
{
ShowPlayerDialog(playerid, shop, DIALOG_STYLE_LIST, "Shop","Medizin - 50$\nArmour - 120$\nMesser - 20$\nSamurai Schwert - 80$\nSpray - 15$\nFallschirm - 50$","Kaufen","Abbrechen");
}
if(pickupid == mafia1shop)
{
ShowPlayerDialog(playerid, shopa, DIALOG_STYLE_LIST, "Shop","Medizin - 50$\nArmour - 120$\nMesser - 20$\nSamurai Schwert - 80$\nSpray - 15$\nFallschirm - 50$","Kaufen","Abbrechen");
}
if(pickupid == fbishop)
{
ShowPlayerDialog(playerid, shopb, DIALOG_STYLE_LIST, "Shop","Medizin - 50$\nArmour - 120$\nMesser - 20$\nSamurai Schwert - 80$\nSpray - 15$\nFallschirm - 50$","Kaufen","Abbrechen");
}
if(pickupid == bikersshop)
{
ShowPlayerDialog(playerid, shopc, DIALOG_STYLE_LIST, "Shop","Medizin - 50$\nArmour - 120$\nMesser - 20$\nSamurai Schwert - 80$\nSpray - 15$\nFallschirm - 50$","Kaufen","Abbrechen");
}
return 1;
}
Vielen Dank schon mal
LG