Zeilen:
if(Playerdatei[playerid][Admin] == 6) //
{
new Text3D:label = Create3DTextLabel("Server Owner", Rot, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
if(Playerdatei[playerid][Admin] == 5) //
{
new Text3D:label = Create3DTextLabel("Server Manager", Orange, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
if(Playerdatei[playerid][Admin] == 4) //
{
new Text3D:label = Create3DTextLabel("SuperAdmin", Gelb, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
if(Playerdatei[playerid][Admin] == 3) //
{
new Text3D:label = Create3DTextLabel("Administrator", Grün, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
if(Playerdatei[playerid][Admin] == 2) //
{
new Text3D:label = Create3DTextLabel("Moderator", Blau, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
if(Playerdatei[playerid][Admin] == 1) //
{
new Text3D:label = Create3DTextLabel("Clanmember", Pink, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
Errors:
C:\Users\Mehmet Ali\Desktop\GTA SAMP Daten\[GSF]RealLife\gamemodes\[GSL]RealLife.pwn(81) : error 017: undefined symbol "Playerdatei"
C:\Users\Mehmet Ali\Desktop\GTA SAMP Daten\[GSF]RealLife\gamemodes\[GSL]RealLife.pwn(81) : warning 215: expression has no effect
C:\Users\Mehmet Ali\Desktop\GTA SAMP Daten\[GSF]RealLife\gamemodes\[GSL]RealLife.pwn(81) : error 001: expected token: ";", but found "]"
C:\Users\Mehmet Ali\Desktop\GTA SAMP Daten\[GSF]RealLife\gamemodes\[GSL]RealLife.pwn(81) : error 029: invalid expression, assumed zero
C:\Users\Mehmet Ali\Desktop\GTA SAMP Daten\[GSF]RealLife\gamemodes\[GSL]RealLife.pwn(81) : 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.