if (strcmp("/open", cmdtext, true, 10) == 0)
{
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
{
MoveObject(..., ......, 2); // ... = Definierungs name, ........ = Coordienaten
SendClientMessage(playerid, COLOR_YELLOW, "The Gate is open!");
{
else
}
SendClientMessage(playerid, COLOR_GREY, "You are not a Cop!");
}
return 1;
}
Da wird er eine warning anzeigen^^