Faction gate error.Help
#2

pawn Код:
if (strcmp("/fortopen", cmdtext, true, 10) == 0)
   {
       if(pfaction[ playerid ] == 5)
       {
              MoveObject( fortgate1, -1218.4169, -1065.1713, 129.0906, 3.0 );
              MoveObject( fortgate2, -1196.1612, -1064.8914, 129.1366, 3.0 );
              return 1;
       }
       else return SendClientMessage( playerid, -1, "You are not NG!" );
   }
   if (strcmp("/fortclose", cmdtext, true, 10) == 0)
   {
      if( pfaction[ playerid ] == 5 )
      {
             MoveObject(fortgate1,-1211.1669,-1065.0722,129.0906,3.0);
             MoveObject(fortgate2,-1203.2128,-1064.9228,129.1366,3.0);
             return 1;
      }
      else return SendClientMessage(playerid,-1,"You are not NG!");
    }
See if this way works.
Reply


Messages In This Thread
Faction gate error.Help - by Bob_Raw - 20.03.2011, 09:59
Re: Faction gate error.Help - by antonio112 - 20.03.2011, 10:06

Forum Jump:


Users browsing this thread: 1 Guest(s)