if (strcmp("/stats", cmdtext, true, 10) == 0)
{
new string[128];
new ftext[20];
new level = sSpieler[playerid][Fraktion];
if(level == 0) { ftext= "Zivilist"; }
if(level == 1) { ftext= "LSPD"; }
if(level == 2) { ftext= "Army"; }
if(level == 3) { ftext= "Triaden"; }
if(level == 4) { ftext= "Grove Street"; }
if(level == 5) { ftext= "Terroristen"; }
else if(level == 1) { ftext= "LSPD"; }
else if(level == 2) { ftext= "Army"; }
else if(level == 3) { ftext= "Triaden"; }
else if(level == 4) { ftext= "Grove Street"; }
else if(level == 5) { ftext= "Terroristen"; }
format(string,sizeof(string),"{FAFAFA}[Name: {2800FF}%s]\n{FAFAFA}[Dein Level: {2800FF}%i]\n{FAFAFA}[Dein Adminlevel: {2800FF}%i]\n{FAFAFA}[Fraktion: {2800FF}%s]\n{FAFAFA}[Dein Geld: {2800FF}%i]",SpielerName(playerid),GetPlayerScore(playerid),GetPVarInt(playerid,"Adminlevel"),ftext,GetPlayerMoney(playerid));
ShowPlayerDialog(playerid,STATS,DIALOG_STYLE_MSGBOX,"{FF1400}Deine Stats",string,"Ok","");
return 1;
}
C:\Users\Dennis\Desktop\Resis Second RealLife\gamemodes\ReSRealLife.pwn(1626) : error 017: undefined symbol "sSpieler"
C:\Users\Dennis\Desktop\Resis Second RealLife\gamemodes\ReSRealLife.pwn(1626) : warning 215: expression has no effect
C:\Users\Dennis\Desktop\Resis Second RealLife\gamemodes\ReSRealLife.pwn(1626) : error 001: expected token: ";", but found "]"
C:\Users\Dennis\Desktop\Resis Second RealLife\gamemodes\ReSRealLife.pwn(1626) : error 029: invalid expression, assumed zero
C:\Users\Dennis\Desktop\Resis Second RealLife\gamemodes\ReSRealLife.pwn(1626) : 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.
Hier die Zeile:
new level = sSpieler[playerid][Fraktion];