Whats the problem of this script?
#3

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
 if(strcmp(cmdtext, "/aao", true) == 0) {
   MoveObject(gate,-2038.645996,-80.268478,35.359375,2.00);
   SendClientMessage(playerid, COLOR_RED, "The Gate is opening now.");
   return 1;
   }
   if(strcmp(cmdtext, "/aac", true) == 0) {
   MoveObject(gate,-2044.336182,-80.107742,35.210938,2.00);
   SendClientMessage(playerid, COLOR_RED, "The Gate is closing now.");
   return 1;     
   }
   if(strcmp(cmdtext, "/aao", true) == 0) {
   MoveObject(gate2,-2055.712646,-80.279343,35.359375,2.00);
   SendClientMessage(playerid, COLOR_RED, "The Gate is opening now."); // change 2nd "/aao" to something else you already used one
   return 1;
   }
   if(strcmp(cmdtext, "/aac", true) == 0) {
   MoveObject(gate2,-2049.752686,-80.108330,35.210938,2.00);
   SendClientMessage(playerid, COLOR_RED, "The Gate is closing now."); // change 2nd "/aac" to something else you already used one
   }
   return 1;
  }
  return 0;
 }
}
Reply


Messages In This Thread
Whats the problem of this script? - by Thommetje - 16.06.2009, 17:27
Re: Whats the problem of this script? - by kaisersouse - 16.06.2009, 17:35
Re: Whats the problem of this script? - by *ToM* - 16.06.2009, 18:15

Forum Jump:


Users browsing this thread: 1 Guest(s)