hm. also was ja schon viele haben am amfang in nem menu zwischen deutsch und englisch wählen is ja eig einfach is nur scho so lange das ich gescriptet habe >-< naja hier mein prob...
new Menu:Lagues;
new englisch[playerid];
new deutsch[playerid];
Lagues = CreateMenu("Lagues", 1, 200.0, 100.0, 150.0, 150.0);
AddMenuItem(Lagues, 0, "Deutsch");
AddMenuItem(Lagues, 0, "English");
public OnPlayerConnect(playerid)
{
ShowMenuForPlayer(Lagues,playerid);
return 1;
}
public OnPlayerSelectedMenuRow(playerid, row)
{
new CurrentMenu = GetPlayerMenu(playerid);
if(CurrentMenu == Lagues)
{
switch(row)
{
case 0: //German
{
if(deutsch[playerid] = 1;
}
case 1: //English
{
if(english[playerid] = 1;
}
}
}
return 1;
}
C:\DOKUME~1\Manuel\Desktop\alles\server\GAMEMO~1\DMscript.pwn(4) : error 017: undefined symbol "playerid"
C:\DOKUME~1\Manuel\Desktop\alles\server\GAMEMO~1\DMscript.pwn(5) : error 017: undefined symbol "playerid"
C:\DOKUME~1\Manuel\Desktop\alles\server\GAMEMO~1\DMscript.pwn(5) : error 009: invalid array size (negative, zero or out of bounds)
C:\DOKUME~1\Manuel\Desktop\alles\server\GAMEMO~1\DMscript.pwn(195) : warning 213: tag mismatch
C:\DOKUME~1\Manuel\Desktop\alles\server\GAMEMO~1\DMscript.pwn(196) : warning 213: tag mismatch
C:\DOKUME~1\Manuel\Desktop\alles\server\GAMEMO~1\DMscript.pwn(202) : warning 211: possibly unintended assignment
C:\DOKUME~1\Manuel\Desktop\alles\server\GAMEMO~1\DMscript.pwn(202) : error 001: expected token: ")", but found ";"
C:\DOKUME~1\Manuel\Desktop\alles\server\GAMEMO~1\DMscript.pwn(202) : error 036: empty statement
C:\DOKUME~1\Manuel\Desktop\alles\server\GAMEMO~1\DMscript.pwn(206) : error 017: undefined symbol "english"
C:\DOKUME~1\Manuel\Desktop\alles\server\GAMEMO~1\DMscript.pwn(206) : warning 215: expression has no effect
C:\DOKUME~1\Manuel\Desktop\alles\server\GAMEMO~1\DMscript.pwn(206) : error 001: expected token: ";", but found "]"
C:\DOKUME~1\Manuel\Desktop\alles\server\GAMEMO~1\DMscript.pwn(206) : error 029: invalid expression, assumed zero
C:\DOKUME~1\Manuel\Desktop\alles\server\GAMEMO~1\DMscript.pwn(206) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
9 Errors.
EDIT: habe ein fehler gefunden einmal englisch und einmal eglish neue errors :
C:\DOKUME~1\Manuel\Desktop\alles\server\GAMEMO~1\DMscript.pwn(4) : error 017: undefined symbol "playerid"
C:\DOKUME~1\Manuel\Desktop\alles\server\GAMEMO~1\DMscript.pwn(4) : error 009: invalid array size (negative, zero or out of bounds)
C:\DOKUME~1\Manuel\Desktop\alles\server\GAMEMO~1\DMscript.pwn(5) : error 017: undefined symbol "playerid"
C:\DOKUME~1\Manuel\Desktop\alles\server\GAMEMO~1\DMscript.pwn(5) : error 009: invalid array size (negative, zero or out of bounds)
C:\DOKUME~1\Manuel\Desktop\alles\server\GAMEMO~1\DMscript.pwn(195) : warning 213: tag mismatch
C:\DOKUME~1\Manuel\Desktop\alles\server\GAMEMO~1\DMscript.pwn(196) : warning 213: tag mismatch
C:\DOKUME~1\Manuel\Desktop\alles\server\GAMEMO~1\DMscript.pwn(202) : warning 211: possibly unintended assignment
C:\DOKUME~1\Manuel\Desktop\alles\server\GAMEMO~1\DMscript.pwn(202) : error 001: expected token: ")", but found ";"
C:\DOKUME~1\Manuel\Desktop\alles\server\GAMEMO~1\DMscript.pwn(202) : error 036: empty statement
C:\DOKUME~1\Manuel\Desktop\alles\server\GAMEMO~1\DMscript.pwn(206) : warning 211: possibly unintended assignment
C:\DOKUME~1\Manuel\Desktop\alles\server\GAMEMO~1\DMscript.pwn(206) : error 001: expected token: ")", but found ";"
C:\DOKUME~1\Manuel\Desktop\alles\server\GAMEMO~1\DMscript.pwn(206) : error 036: empty statement
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
8 Errors.