...Timed gate?
#6

You've mis typed/copied several of the pieces of code... try these:

pawn Код:
public gateclosetimer();
{
MoveObject(frazzgate, 1534.98,-1451.48,15.00, 2.00);
}
pawn Код:
if(strcmp(cmd, "/opengate", true) == 0)
        {
        if(GetPlayerMoney(playerid) > 250)
          {
            GivePlayerMoney(playerid,-250);
            MoveObject(frazzgate,1534.98,-1451.48,9.70,2.00); // Put your cords in here
            SendClientMessage(playerid, 0xFF0000AA, "You have 5 seconds to get in.");
            SetTimer("gateclosetimer", 5000, false);
            }
        return 1;
        }
Reply


Messages In This Thread
...Timed gate? - by FrazZ - 07.04.2009, 12:20
Re: ...Timed gate? - by Weirdosport - 07.04.2009, 12:26
Re: ...Timed gate? - by FrazZ - 07.04.2009, 12:35
Re: ...Timed gate? - by Weirdosport - 07.04.2009, 12:37
Re: ...Timed gate? - by FrazZ - 07.04.2009, 12:45
Re: ...Timed gate? - by Weirdosport - 07.04.2009, 12:49
Re: ...Timed gate? - by FrazZ - 07.04.2009, 13:06
Re: ...Timed gate? - by Weirdosport - 07.04.2009, 13:22
Re: ...Timed gate? - by FrazZ - 07.04.2009, 13:36
Re: ...Timed gate? - by Weirdosport - 07.04.2009, 14:25

Forum Jump:


Users browsing this thread: 1 Guest(s)