gate for only 1 turf
#1

hi,
i got an gate but i want that only the cops and the one what turfed the cops place can open that gate and close does any know ?

Код:
   if (strcmp(cmdtext, "/pdgatop", true)==0)
   {
   MoveObject(PDGATE,1546.113769 , -1621.810913 , 11.709331,3.5);//close
   MoveObject(PDGATE,1546.113769 , -1621.810913 , 5.644468,3.5);//open
   SendClientMessage(playerid, COLOR_YELLOW,"Welcome to LSPD, Gate Open");
   return 1;
   }

		if (strcmp(cmdtext, "/pdgatcl", true)==0)
   {
   MoveObject(PDGATE,1546.113769 , -1621.810913 , 5.644468,3.5);//open
   MoveObject(PDGATE,1546.113769 , -1621.810913 , 11.709331,3.5);//close
   SendClientMessage(playerid, COLOR_YELLOW,"Gate Close");
   return 1;
   }
that is the code ??
any know how to make that only them can open that gate ?
i know how to get the gate for cops but i want to know how to make the gate only for the turf what owned that place?
Reply


Messages In This Thread
gate for only 1 turf - by dennis-jippi - 05.02.2009, 11:32
Re: gate for only 1 turf - by MenaceX^ - 05.02.2009, 11:38
Re: gate for only 1 turf - by Auto-Sized - 05.02.2009, 11:43
Re: gate for only 1 turf - by dennis-jippi - 05.02.2009, 11:45
Re: gate for only 1 turf - by dennis-jippi - 05.02.2009, 19:48

Forum Jump:


Users browsing this thread: 1 Guest(s)