es kommen immer noch 26erros=(
if(strcmp(cmdtext, "/army1", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pLeader] == 3 PlayerInfo[playerid][pMember] == 3)
{
if(SBizzInfo[4][sbProducts] < 1)
{
GameTextForPlayer(playerid,"~r~Stromausfall",5000,1);
return 1;
}
MoveObject(Army1,2720.4213867188, -2405.0541992188, 13.585636138916, 3.5);//Fechado
MoveObject(Army1,2720.421875, -2396.8149414063, 13.585636138916, 3.5);//Aberto
SetTimer("GateCloseArmy1", 8000, 0);
SendClientMessage(playerid, COLOR_YELLOW,"Be Welcome to the Army HQ the Gate will AutoClose in 8 Seconds");
SBizzInfo[4][sbProducts] -= 1;
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, " You are not a National Guard !");
}
}
return 1;
}
das ist ein anderer cmd