Hallo Leute das prob ist wennich micmit /SWaffeneineKra gebe will bkomm ich ne9mm -.- was überschneidet sichda he keine Errors
Es passiert bei den anderen auch wenn ich mir zb Granaten geben will
Bm Comelieren :
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Zeilen im Script :
PAWN Quelltext
{
switch(dialogid)
{
case Dialog_NWaffen:
{
if(!response){}//Wenn ESC dann soll er es Schließen
if(response)
{
switch(listitem)
{
case 0: return GivePlayerWeapon(playerid, 1, 1); //Schlagring
case 1: return GivePlayerWeapon(playerid, 2, 1); //Golfschläger
case 2: return GivePlayerWeapon(playerid, 3, 1); //Polizeiknüpel
case 3: return GivePlayerWeapon(playerid, 4, 1); //Messer
case 4: return GivePlayerWeapon(playerid, 5, 1); //Bäseballschläger
case 5: return GivePlayerWeapon(playerid, 6, 1); //Schaufel
case 6: return GivePlayerWeapon(playerid, 7, 1); //Biliadschläger
case 7: return GivePlayerWeapon(playerid, 8, 1); //Katana
case 8: return GivePlayerWeapon(playerid, 9, 1); //Kettensäge
case 9: return GivePlayerWeapon(playerid, 14, 1); //Blumen
case 10: return GivePlayerWeapon(playerid, 15, 1); //Gehstock
case 11: return GivePlayerWeapon(playerid, 37, 500); //Flammenwerfer
case 12: return GivePlayerWeapon(playerid, 41, 500); //Spray
case 13: return GivePlayerWeapon(playerid, 42, 500); //Feuerlöscher
}
}
}
}
switch(dialogid)
{
case Dialog_FWaffen:
{
if(!response){}//Wenn ESC dann soll er es Schließen
if(response)
{
switch(listitem)
{
case 0: return GivePlayerWeapon(playerid, 22, 1000); //Pistole (9mm)
case 1: return GivePlayerWeapon(playerid, 23, 1000); //Pistole (mit Schalldämpfer)
case 2: return GivePlayerWeapon(playerid, 24, 1000); //Desert Eagle
case 3: return GivePlayerWeapon(playerid, 25, 1000); //Schrotflinte
case 4: return GivePlayerWeapon(playerid, 26, 1000); //Abgesägte Schrotflinte
case 5: return GivePlayerWeapon(playerid, 27, 1000); //Spaz12(Combat)
case 6: return GivePlayerWeapon(playerid, 28, 1000); //Uzi
case 7: return GivePlayerWeapon(playerid, 29, 1000); //MP5
case 8: return GivePlayerWeapon(playerid, 30, 1000); //AK-47
case 9: return GivePlayerWeapon(playerid, 31, 1000); //M4
case 10: return GivePlayerWeapon(playerid, 32, 1000); //Tec-9
case 11: return GivePlayerWeapon(playerid, 33, 1000); //Gewehr
case 12: return GivePlayerWeapon(playerid, 34, 1000); //Scharfschützengewehr
case 34: return GivePlayerWeapon(playerid, 38, 1000); //Minigun
}
}
}
}
switch(dialogid)
{
case Dialog_DVWaffen:
{
if(!response){}//Wenn ESC dann soll er es Schließen
if(response)
{
switch(listitem)
{
case 0: return GivePlayerWeapon(playerid, 10, 1); //Dildo (Pink)
case 1: return GivePlayerWeapon(playerid, 11, 1); //Dildo
case 2: return GivePlayerWeapon(playerid, 12, 1); //Vibrator
case 3: return GivePlayerWeapon(playerid, 13, 1); //Vibrator (Silber)
}
}
}
}
switch(dialogid)
{
case Dialog_WurfWaffen:
{
if(!response){}//Wenn ESC dann soll er es Schließen
if(response)
{
switch(listitem)
{
case 0: return GivePlayerWeapon(playerid, 16, 1000); //Granaten
case 1: return GivePlayerWeapon(playerid, 17, 1000); //Rauchgranaten
case 2: return GivePlayerWeapon(playerid, 18, 1000); //Molotowcoktail
case 3: return GivePlayerWeapon(playerid, 39, 1000); //Rucksackbomben
case 4: return GivePlayerWeapon(playerid, 40, 1); //Fernbedienung (für die Rucksackbomben)
}
}
}
}
switch(dialogid)
{
case Dialog_RWaffen:
{
if(!response){}//Wenn ESC dann soll er es Schließen
if(response)
{
switch(listitem)
{
case 1: return GivePlayerWeapon(playerid, 35, 1000); //Raketenwerfer
case 2: return GivePlayerWeapon(playerid, 36, 1000); //Raketenwerfern
}
}
}
}
switch(dialogid)
{
case Dialog_SWaffen:
{
if(!response){}//Wenn ESC dann soll er es Schließen
if(response)
{
switch(listitem)
{
case 0: return GivePlayerWeapon(playerid, 43, 1000); //Kamera
case 1: return GivePlayerWeapon(playerid, 44, 1); //Nacht Vis-Schutzbrille (Nachsichtgerät)
case 2: return GivePlayerWeapon(playerid, 45, 1); //Infrarotgerät
case 3: return GivePlayerWeapon(playerid, 46, 1); //Fallscirm
}
}
}
}
return 0;
}
Danke das sie sich Zet genommen haben um den Fehler zu finden
Danke im Vorraus