C:\Users\user\Desktop\Server\gamemodes\Test.pwn(164) : warning 225: unreachable code
C:\Users\user\Desktop\Server\gamemodes\Test.pwn(180) : warning 225: unreachable code
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Warnings.
if (strcmp("/Pdt",cmdtext, true,10) == 0)
{
if(gTeam[playerid] == TEAM_COP)
MoveObject(pdtuer,244.3699951,72.6800003,1003.8400269,2);
return 1;
}
else
{
SendClientMessage(playerid,ROT,"Du bist kein Cop!");
return 1;
}
if (strcmp("/Pdz",cmdtext, true,10) == 0)
{
if(gTeam[playerid] == TEAM_COP)
MoveObject(pdtuer,246.3600006,72.6699982,1003.8400269,2);//pdtürzu
return 1;
}
else
{
SendClientMessage(playerid,ROT,"Du bist kein Ccp!");
return 1;
}
if (strcmp("/zelleauf",cmdtext, true,10) == 0)
{
MoveObject(zelle1,266.2999878,82.4199982,998.7700195,2);
return 1;
}
if (strcmp("/zellezu",cmdtext, true,10) == 0)
{
MoveObject(zelle1,266.2999878,82.4199982,1001.2299805,2);//zelle1zu
return 1;
}
Was ist hier falsch?