Hey mein Tor geht nicht zu wieso^^
new LCNTOR[MAX_PLAYERS];
new LCNTOR1;
LCNTOR1 = CreateObject(980, 708.29998779297, -1415.9000244141, 15.300000190735, 0, 0, 359.09997558594);
ocmd:lcntor(playerid,params[])
{
if(isPlayerInFrakt(playerid,1))
{
if(LCNTOR[playerid] == 0)
{
MoveObject(LCNTOR1,708.29998779297, -1415.9000244141, 9.300000190735,5);
SendClientMessage(playerid,COLOR_WEISS,"[Info] Mit /Lcntor geht das Tor wieder zu.");
}
else
{
MoveObject(LCNTOR1,708.29998779297, -1415.9000244141, 16.300000190735,5);
}
}
return 1;
}