if (strcmp(cmd, "/wmenu", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerMoney[playerid] < 5000) <- [color=#ff0000]Hier ist der Fehler ![/color]
{
SendClientMessage(playerid, COLOR_GREY, "Du hast nicht genug Geld !");
return 1;
}
if(IsPlayerInRangeOfPoint(playerid,1.0,286.148986,-40.644397,1001.515625) || IsPlayerInRangeOfPoint(playerid,1,296.0820,-37.8866,1001.5156))
{
ShowPlayerDialog(playerid, DIALOG_BUY_GUN,DIALOG_STYLE_LIST, "/wmenu - Waffenladen", "9mm Pistole [100Schuss]\nSilenced Pistole [100Schuss]\nDesert Eagle [100Schuss]\nTec 9 [200Schuss]\nUzi [400Schuss]\nMP5 [300Schuss]\nShotgun [50Schuss]\nSawnoff Shotgun [50Schuss]\nM4 [400Schuss]\nAK 47 [400Schuss]\nRifle [15Schuss]\nScharfschützengewehr [15Schuss]\nSchutzweste", "Kaufen", "Abbrechen");
}
else
{
SendClientMessage(playerid, COLOR_RED,"Du bist in keinem Waffenladen.");
return 1;
}
}
return 1;
}
C:\Users\Max\Desktop\[RoS]RealLife of San Andreas [0.3e]\[RoS]RealLife of San Andreas [0.3e]\gamemodes\unbekannt.pwn(20996) : error 017: undefined symbol "PlayerMoney"
C:\Users\Max\Desktop\[RoS]RealLife of San Andreas [0.3e]\[RoS]RealLife of San Andreas [0.3e]\gamemodes\unbekannt.pwn(20996) : warning 215: expression has no effect
C:\Users\Max\Desktop\[RoS]RealLife of San Andreas [0.3e]\[RoS]RealLife of San Andreas [0.3e]\gamemodes\unbekannt.pwn(20996) : error 001: expected token: ";", but found "]"
C:\Users\Max\Desktop\[RoS]RealLife of San Andreas [0.3e]\[RoS]RealLife of San Andreas [0.3e]\gamemodes\unbekannt.pwn(20996) : error 029: invalid expression, assumed zero
C:\Users\Max\Desktop\[RoS]RealLife of San Andreas [0.3e]\[RoS]RealLife of San Andreas [0.3e]\gamemodes\unbekannt.pwn(20996) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Wen ja könnt ihr mir auch durch Teamviewer helfen kommt dan TS³ IP: 46.4.67.85:9981
Heiße da IceWatch