lspdtor = CreateObject(980, 1587.481934, -1638.111816, 15.159008, 0.0000, 0.0000, 0.0000); // lspd tor
if(strcmp(cmdtext, "/lspdtorauf", true))
{
if(PlayerInfo[playerid][pMember] == 1 PlayerInfo[playerid][pLeader] == 1)
{
MoveObject(lspdtor, 1598.178467, -1637.877686, 15.274012, 2);
SetTimer("GateClose", 8000, 0);
SendClientMessage(playerid, COLOR_YELLOW,"Das Tor schließ automatisch");
}
else return SendClientMessage(playerid, COLOR_RED,"Du bist kein Polizist ");
return 1;
}