Gate problem
#3

Код:
    if (strcmp("/gateopen", cmdtext, true, 10) == 0)
    {
    MoveObject(gate1, 96.627892, 1925.867065, 18.861610, 2.0);
    SendClientMessage(playerid, COLOR_GREEN, "Gate opening...");
    return 1;
    }

   if(strcmp("/gateclose", cmdtext, true, 10) == 0)
   {
   MoveObject(gate1, 96.712158, 1920.029419, 18.852978, 2.0);
   SendClientMessage(playerid, COLOR_GREEN, "Gate closing...");
   }
No need to define two gates

Just do

new gate1;

By the way add the new code i did for you
Reply


Messages In This Thread
Gate problem - by laser50 - 27.08.2009, 14:27
Re: Gate problem - by jonrb - 27.08.2009, 14:30
Re: Gate problem - by Kyle - 27.08.2009, 14:30
Re: Gate problem - by laser50 - 27.08.2009, 14:32
Re: Gate problem - by Kyle - 27.08.2009, 14:33
Re: Gate problem - by laser50 - 27.08.2009, 14:39
Re: Gate problem - by hluistella - 29.08.2009, 04:37

Forum Jump:


Users browsing this thread: 1 Guest(s)