/enter and /exit CMD'S
#1

Can someone Make me a Filterscript with /enter and /exit CMD'S and they only work when you at a Deifinite Point (( Ex : at a door to do /enter )) - So i can Edit it later if i want to make Enterable places ? Thanks
Reply
#2

you need to make one cmd only not two cmds that not work

use isplayerrangeofpoint make in same enter cmd place
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)