moving gate with pass not working.
#7

Quote:
Originally Posted by System64
Посмотреть сообщение
pawn Код:
switch(IsOpened)  
        {  
            case true:  
            {  
                IsOpened = false;  
                SendClientMessage(playerid,-1,"Gate is closing!");  
                MoveObject(Gate,969,1504.50000000,-699.70001221); //co-ordinates of closed gate  
            }  
               case false:  
            {  ]
                   IsOpened = true;  
                SendClientMessage(playerid,-1,"Gate is opening!");  
                MoveObject(Gate,969,1512.00000000,-699.69897461); //co-ordinates of opened gate  
            }  
        }
change to
pawn Код:
if(IsOpened == true)
        {
            IsOpened = false;
            SendClientMessage(playerid,-1,"Gate is closing!");
            MoveObject(Gate,969,1504.50000000,-699.70001221); //co-ordinates of closed gate
        }
        else
        {
               IsOpened = true;
            SendClientMessage(playerid,-1,"Gate is opening!");
            MoveObject(Gate,969,1512.00000000,-699.69897461); //co-ordinates of opened gate
        }
I tried that, but it still doesnt work
Reply


Messages In This Thread
moving gate with pass not working. - by reckst4r - 24.11.2011, 14:55
Re: moving gate with pass not working. - by System64 - 24.11.2011, 14:58
Re: moving gate with pass not working. - by Pharrel - 24.11.2011, 14:59
Re: moving gate with pass not working. - by System64 - 24.11.2011, 15:00
Re: moving gate with pass not working. - by Pharrel - 24.11.2011, 15:02
Re: moving gate with pass not working. - by reckst4r - 24.11.2011, 15:06
Re: moving gate with pass not working. - by reckst4r - 24.11.2011, 15:23
Re: moving gate with pass not working. - by Pharrel - 24.11.2011, 15:30
Re: moving gate with pass not working. - by reckst4r - 24.11.2011, 15:34
Re: moving gate with pass not working. - by System64 - 24.11.2011, 16:08

Forum Jump:


Users browsing this thread: 1 Guest(s)