Auto gate
#2

try this:

pawn Код:
if(!IsPlayerInRangeOfPoint(playerid, 1497.13, 1508.89, 9.83)) return SendClientMessage(playerid, COLOR_RED, "You aren't near the gate");
MoveObject(object,1587.690,-1437.827,4.755, 2.50);
SetTimer("close", 7000, 0);//gate will be  closed for 7 seconds
SendClientMessage(playerid,COLOR_LGREEN,"You are opening a Gate, and will be closed automaticly..");
PlayerPlaySound(playerid,1153,0.0,0.0,0.0);
return 1;
}
Reply


Messages In This Thread
Auto gate - by FireCat - 14.08.2010, 13:20
Re: Auto gate - by Bessensap - 14.08.2010, 13:27
Re: Auto gate - by FireCat - 14.08.2010, 13:29

Forum Jump:


Users browsing this thread: 1 Guest(s)