[HELP] /Commands
#1

Hi guys, So my server is nearly finished (well getting there) but I've got commands like /PayToll1 /PayToll2 etc...

How do I make it so that one command open the object infront of the player requesting... for example.
A player drives up to a toll and enters /paytoll but it only open that toll they are facing and no others?

Hope that made sense, hard to word lol!

Here is an example of the gate commands I'm using and want to keep if possible!

pawn Код:
if (strcmp(cmdtext, "/PDGate", true)==0)
      {
      MoveObject(PDGate,629.36450195313, -591.13940429688, 15.622407913208, 3.5);
      SetTimer("PDGateClose", 5000, 0);
      SendClientMessage(playerid, 0xFFFF00AA, "The Policegate Will Shut In 5 Seconds");
      return 1;
      }
Reply


Messages In This Thread
[HELP] /Commands - by BurgessGaming - 17.03.2011, 23:00
Re: [HELP] /Commands - by antonio112 - 17.03.2011, 23:23
Re: [HELP] /Commands - by BurgessGaming - 18.03.2011, 02:46
Re: [HELP] /Commands - by antonio112 - 18.03.2011, 02:52
Re: [HELP] /Commands - by BurgessGaming - 22.03.2011, 22:04

Forum Jump:


Users browsing this thread: 1 Guest(s)