C:\Dokumente und Einstellungen\scripten\Desktop\GPR\gamemodes\GPR.pwn(23237) : error 028: invalid subscript (not an array or too many subscripts): "M_GetPlayerMoney"
C:\Dokumente und Einstellungen\scripten\Desktop\GPR\gamemodes\GPR.pwn(23237) : warning 215: expression has no effect
C:\Dokumente und Einstellungen\scripten\Desktop\GPR\gamemodes\GPR.pwn(23237) : error 001: expected token: ";", but found "]"
C:\Dokumente und Einstellungen\scripten\Desktop\GPR\gamemodes\GPR.pwn(23237) : error 029: invalid expression, assumed zero
C:\Dokumente und Einstellungen\scripten\Desktop\GPR\gamemodes\GPR.pwn(23237) : 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.
Zeile:
//-------------------------------------Rüstung im Waffenladen kaufen------------
if(strcmp(cmd,"/buyarmor",true)==0)
{
if(IsPlayerConnected(playerid))
{
if(GetPlayerMoney(playerid) < 25000)
{
SendClientMessage(playerid, COLOR_GREY, "* Nicht genug Geld!");
return 1;
}
new location = PlayerInfo[playerid][pLocal];
if(location == 99 || location == 100 || location == 102)
{
GetPlayerMoney[playerid] = GetPlayerMoney[playerid]-25000;
SetPlayerArmour(playerid, 100);
}
}
return 1;
}