Gibt es hier irgendwo ein Klammerfehler?
Function OnPlayerPickUpPickup(playerid,pickupid)
{
if(pickupid == Ammu_enter)
}
{
SetPlayerInterior(playerid, 1);
SetPlayerPos(playerid,286.148986,-40.644397,1001.515625);
GameTextForPlayer(playerid,"Willkommen im~n~~y~Ammunation!",3000,6);
}
if(pickupid == Ammu_exit)
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1364.8352,-1279.6486,13.5469);
SetPlayerFacingAngle(playerid,90);
}
{
if(pickupid == deagle_buypoint)
}
if(GetPlayerMoney(playerid)>8999)
{
GivePlayerMoney(playerid,-9000);
SendClientMessage(playerid,GRUEN,"Danke für ihren Einkauf(gekauft; Desert Eagle!");
GivePlayerWeapon(playerid,24,200);
}
else
{
SendClientMessage(playerid,ROT,"Sie haben nicht genug Geld!");
}
Oder hier
ammu_enter = CreatePickup(1318,1,1368.5703,-1279.8452,13.5469);
ammu_exit = CreatePickup(1318,1,285.2960.,-41.6163,1001.5156);
deagle_buypoint = CreatePickup(1274,1,285.0860,-32.2069,1001.5156);
kriege nämlich 24 Udefine errors