ocmd:f(playerid,params[])
{
new text[128],LSPDRank[54],BMRank[54];
if(sscanf(params,"s",text))return SendClientMessage(playerid,ROT,"/f [text]");
switch(GetPVarInt(playerid,"Fraktion"))
{
case 1:
{
switch(GetPVarInt(playerid,"FRank"))
{
case 1:{LSPDRank=LSPDR1;}
case 2:{LSPDRank=LSPDR2;}
case 3:{LSPDRank=LSPDR3;}
case 4:{LSPDRank=LSPDR4;}
case 5:{LSPDRank=LSPDR5;}
case 6:{LSPDRank=LSPDR6;}
}
}
case 7:
{
switch(GetPVarInt(playerid,"FRank"))
{
case 1:{BMRank=BMR1;}
case 2:{BMRank=BMR2;}
case 3:{BMRank=BMR3;}
case 4:{BMRank=BMR4;}
case 5:{BMRank=BMR5;}
case 6:{BMRank=BMR6;}
}
}
format(text,sizeof(text),"((%s %s: %s ))",BMRank,SpielerName(playerid),text);
for(new i=0; i<GetMaxPlayers(); i++)
{
if(IsPlayerConnected(i))
{
if(isPlayerInFrakt(i,GetPVarInt(playerid,"Fraktion")))
{
SendClientMessage(i,HELLBLAU,text);
}
}
}
return 1;
}
hier der error ich weiß nicht was da falsch ist
C:\Users\Nico\Desktop\SAMP Server\gamemodes\360script.pwn(1205) : error 002: only a single statement (or expression) can follow each "case"
Pawn compiler 3.2.3664