public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/startbonus", cmdtext, true, 10) == 0)
{
PlayerInfo[playerid][pLevel] == 1)
{
PlayerInfo[playerid][pLevel] = 2;
SetPlayerHealth(playerid, 100);
GivePlayerMoney(playerid, 30000);
SendClientMessage(playerid, 0x00D1FFFF,"Herzlich Willkommen auf German Next Evolution v.2");
SendClientMessage(playerid, 0x00D1FFFF,"Du hast deinen Startbonus erhalten Level 2 + 30.000$ ");
}
else
{
SendClientMessage(playerid, COLOR_YELLOW,"Du bist kein Anfänger mehr!");
}
return 1;
}
return 1;
}
C:\Users\Tom\Desktop\YsL\YsL\filterscripts\NiiKE7Login.pwn(147) : error 017: undefined symbol "PlayerInfo"
C:\Users\Tom\Desktop\YsL\YsL\filterscripts\NiiKE7Login.pwn(147) : warning 215: expression has no effect
C:\Users\Tom\Desktop\YsL\YsL\filterscripts\NiiKE7Login.pwn(147) : error 001: expected token: ";", but found "]"
C:\Users\Tom\Desktop\YsL\YsL\filterscripts\NiiKE7Login.pwn(147) : error 029: invalid expression, assumed zero
C:\Users\Tom\Desktop\YsL\YsL\filterscripts\NiiKE7Login.pwn(147) : 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.
das rot markierte sind die Errors .
Ich bitte um hilfe