19.06.2011, 02:22
Okay I've got the script working now, but I don't want it to be where you have to type a command to close it. I have the script for one of the gates here, how would I add a timer to it to where it closes after about 7 seconds? And also make it to where it goes back up to X Coordinate 94.
pawn Код:
}
if (!strcmp("/agate1open", cmdtext))
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, -2243.1083984375, 645.521484375, 50.687446594238))
SendClientMessage(playerid, 0x999999AA, "Gate Opened.");
{
MoveObject(agate1, -2243.1083984375, 645.521484375, 46.687446594238, 1);
}
return 1;