Gates
#1

Hey guys,me with another question...

My question this time is almost impossible for me to figure out...

How can i get co-ordinates to create fences and gates. I want to create like gates which open when i write "/open" or summin, but i cant get the co-ordinates or where to move the gates. Plz tell me how i can get the co-ordinates...

Thank u!!!!!

Here is my other part of the script but i dont know how to get the co-ordinates:
Код:
if (strcmp("/opengate", cmdtext, true, 10) == 0)
	{
	 	if(IsPlayerLAdmin(playerid))
		{
		  new pName[MAX_PLAYER_NAME];
  		new string[48];
	 		GetPlayerName(playerid, pName, sizeof(pName));
  		format(string, sizeof(string), "%s has opened the admin gate", pName);
  		print(string);
  		//-------------------------------------------------------------------------------------
			SendClientMessage(playerid, COLOR_RED,"*** Opening admin gate remember to /closegate ***");
			MoveObject(admingate, ............................................ );
		}
		else
		{
		  new pName[MAX_PLAYER_NAME];
  		new string[48];
	 		GetPlayerName(playerid, pName, sizeof(pName));
  		format(string, sizeof(string), "%s hasnt opened the admin gate", pName);
  		print(string);
			SendClientMessage(playerid, COLOR_RED,"ERROR: You cant open the admin gate Sorry");
		}
		return 1;
I hope u understand... and plz reply

Reply


Messages In This Thread
Gates - by Tigerbeast11 - 26.09.2009, 14:46
Re: Gates - by Desert - 26.09.2009, 14:55
Re: Gates - by Tigerbeast11 - 26.09.2009, 14:58
Re: Gates - by AG Adam - 26.09.2009, 14:59
Re: Gates - by [XST]O_x - 26.09.2009, 15:03
Re: Gates - by Desert - 26.09.2009, 15:03
Re: Gates - by AG Adam - 26.09.2009, 15:12
Re: Gates - by Tigerbeast11 - 26.09.2009, 15:20

Forum Jump:


Users browsing this thread: 1 Guest(s)