it is good?
#1

Код:
  if(strcmp(cmd, "/opengate1", true) == 0) { // Edit the /eup to your elevator command.
   MoveObject(yamgate,186,787.1932,-1140.3800,23.8281,88.0325); // Put your cords in here
   SendClientMessage(playerid, COLOR_RED, "Gate opened"); // You dont alwas have to put this in, delete if wanted.
   return 1;
   }
   if(strcmp(cmd, "/closegate1", true) == 0) { // Same deal as before
   MoveObject(yamgate,186,787.2402,-1152.0308,23.6529,272.9844); // Same deal as before
   SendClientMessage(playerid, COLOR_RED, "Gate closed."); // Same deal as before
   return 1;
   }
Did it good?

I did also

Код:
new yamgate
But this gives me erorrs


Help me pleSE/.
Reply
#2

Help me please, this is my 2 post about the gate and no one help...
Reply
#3

You using the bruzers tuturial i see, i'll help you

UnderGameModeInit() you need to add

yamgate = CreateObject(id, coords) // this for the gate cllsed, or elevator.

then on the command text you add those command that you have already
Reply


Forum Jump:


Users browsing this thread: