26.09.2009, 14:46
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:
I hope u understand... and plz reply
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;


