/enter and /exit CMD'S
#3

Example (using ZCMD, change it to DCMD/STRCMP if you want)

pawn Код:
COMMAND:enter(playerid, cmdtext)
{
   if(IsPlayerInRangeOfPoint(playerid, 5, 1, 2, 3))
   {
      SetPlayerPos(playerid, 50, 60, 70);
   }
   else if(IsPlayerInRangeOfPoint(playerid, 5, 4, 5, 6))
   {
      SetPlayerPos(playerid, 80, 90, 100);
   }
   return 1;
}
Reply


Messages In This Thread
/enter and /exit CMD'S - by Mr.Black - 20.06.2011, 09:34
Re: /enter and /exit CMD'S - by sampfans - 20.06.2011, 09:46
Re: /enter and /exit CMD'S - by Wesley221 - 20.06.2011, 09:47

Forum Jump:


Users browsing this thread: 2 Guest(s)