Die Errors:
C:\Users\Christian\Desktop\WoS 2.4\pawno\include\M_Bot.inc(603) : warning 224: indeterminate array size in "sizeof" expression (symbol "")
C:\Users\Christian\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(53130) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Christian\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(53131) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Christian\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(53132) : warning 213: tag mismatch
C:\Users\Christian\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(53125) : warning 204: symbol is assigned a value that is never used: "string"
C:\Users\Christian\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(53125 -- 53134) : warning 209: function "ocmd_getmats" should return a value
C:\Users\Christian\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(53659) : warning 203: symbol is never used: "M_OnPlayerCommandText"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
Die Funktion:
ocmd:getmats(playerid,params[])
{
if(IsPlayerInRangeOfPoint(playerid,3.0,503.0145,-6.3141,1000.6797))
{
new string[128], Menge;
if(sscanf(params,"d",Menge))return SendClientMessage(playerid,Weiss,"Benutzung: /getmats [Menge]");
if(Menge > 40)return SendClientMessage(playerid,Weiss,"Soviel Materialien kannst du dir nicht kaufen, beachte das die Preise für die Mats immer 400$ betragen.");
if(Menge < 1)return SendClientMessage(playerid,Weiss,"Du kannst nicht weniger als 1 Material kaufen");
new Money
Money = Menge*(400)
SetPlayerMoney(playerid,-Money);
PlayerInfo[playerid][Bootsmann] = Menge;
}
}