hallo,
kann mir jemand sagen wie ich diese Fehler wegbekomme:
C:\Users\User\Downloads\samp03e_svr_R2_win32\gamemodes\test.pwn(319) : error 014: invalid statement; not in switch
C:\Users\User\Downloads\samp03e_svr_R2_win32\gamemodes\test.pwn(319) : warning 215: expression has no effect
C:\Users\User\Downloads\samp03e_svr_R2_win32\gamemodes\test.pwn(319) : error 001: expected token: ";", but found ":"
C:\Users\User\Downloads\samp03e_svr_R2_win32\gamemodes\test.pwn(319) : error 029: invalid expression, assumed zero
C:\Users\User\Downloads\samp03e_svr_R2_win32\gamemodes\test.pwn(319) : 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.
Zeile 319:
case 0:
Gesamtes zusammen hängendes Script:
if(dialogid == DIALOG_TEAM)
{
if(response == 0)
{
case 0:
{
//Army
SetPlayerTeam(playerid,1);
SetPlayerSkin(playerid, 287);
}
case 1:
{
//Groove Street
SetPlayerTeam(playerid,2);
SetPlayerSkin(playerid,106);
}
case 2:
{
//Polizei
SetPlayerTeam(playerid,3);
SetPlayerSkin(playerid,280);
}
case 3:
{
//Ballas
SetPlayerTeam(playerid,4);
SetPlayerSkin(playerid,104);
}
}
}
Hoffe um Hilfe.