Hallo,
Ich habe ein Problem mit else if glaub ich zumindestens.
Das ist der code:
ocmd:ah(playerid,params[])
{
SendClientMessage(playerid,Gruen,"_________________________");
if(PlayerInfo[playerid][pAdminlevel] == 1339 )
{
SendClientMessage(playerid,KickBanRot,"Owner: /makeadmin /makeleader /restart");
return 1;
}
if(PlayerInfo[playerid][pAdminlevel] => 1 )
{
SendClientMessage(playerid,Gruen,"Supporter auf Probe: Das ist ein Test.");
return 1;
}
SendClientMessage(playerid,Gruen,"_________________________");
return 1;
}
und die errors sind:
C:\Users\TheTutoFreak.Florian-PC\Desktop\GTA SA-MP Server\gamemodes\TutorialReallifeScript.pwn(129) : warning 211: possibly unintended assignment
C:\Users\TheTutoFreak.Florian-PC\Desktop\GTA SA-MP Server\gamemodes\TutorialReallifeScript.pwn(129) : error 029: invalid expression, assumed zero
C:\Users\TheTutoFreak.Florian-PC\Desktop\GTA SA-MP Server\gamemodes\TutorialReallifeScript.pwn(129) : warning 215: expression has no effect
C:\Users\TheTutoFreak.Florian-PC\Desktop\GTA SA-MP Server\gamemodes\TutorialReallifeScript.pwn(129) : error 001: expected token: ";", but found ")"
C:\Users\TheTutoFreak.Florian-PC\Desktop\GTA SA-MP Server\gamemodes\TutorialReallifeScript.pwn(129) : error 029: invalid expression, assumed zero
C:\Users\TheTutoFreak.Florian-PC\Desktop\GTA SA-MP Server\gamemodes\TutorialReallifeScript.pwn(129) : 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.