My gate? wont move?
#2

pawn Код:
if(strcmp(cmd, "/opengate", true) == 0)
  {

   if(PlayerInfo[playerid][pLeader] == 1|| PlayerInfo[playerid][pMember] == 1)
    {
    MoveObject(PDGATE, 1602.288940, -1638.424194, 13.113057,2.5);//You forgot to define the speed of the gate
   SendClientMessage(playerid,COLOR_GREEN, "You opening the Police Department Gate");
     }
     else
     {
      SendClientMessage(playerid, COLOR_RED, "You are not a Police Officer!");
     }
  return 1;
    }
Reply


Messages In This Thread
My gate? wont move? - by Lia - 23.09.2009, 22:35
Re: My gate? wont move? - by Peter_Corneile - 23.09.2009, 22:40
Re: My gate? wont move? - by Lia - 23.09.2009, 22:43
Re: My gate? wont move? - by Peter_Corneile - 23.09.2009, 22:45

Forum Jump:


Users browsing this thread: 1 Guest(s)