How to turn this code into a delay?
#5

pawn Код:
if (strcmp("/go", cmdtext, true, 12) == 0)  
{
        if(IsPlayerInRangeOfPoint(playerid, 10, 1539.57263, -1632.32275, 12.43860))
        {
                MoveDynamicObject(LSPDgate, 1539.5726, -1625.0808, 12.4386, 6);
                SendClientMessage(playerid, 0xEF994300, "The gate have been opened.");  
                SetTimer("LSPDgateCheck", 10000, 0);
        }
        return 1;
}
pawn Код:
forward LSPDgateCheck();
public LSPDgateCheck()
{
    MoveDynamicObject(LSPDgate, 1539.57263, -1632.32275, 12.43860, 6);
}
Reply


Messages In This Thread
How to turn this code into a delay? - by Djsoulhart - 06.03.2014, 22:30
Re: How to turn this code into a delay? - by XK - 06.03.2014, 22:33
Re: How to turn this code into a delay? - by Djsoulhart - 06.03.2014, 22:36
Re: How to turn this code into a delay? - by Luis- - 06.03.2014, 22:38
Re: How to turn this code into a delay? - by XK - 06.03.2014, 22:45
Re: How to turn this code into a delay? - by Djsoulhart - 06.03.2014, 22:52
Re: How to turn this code into a delay? - by Keyhead - 06.03.2014, 22:53
Re: How to turn this code into a delay? - by XK - 06.03.2014, 22:59
Re: How to turn this code into a delay? - by Djsoulhart - 06.03.2014, 23:19
Re: How to turn this code into a delay? - by XK - 06.03.2014, 23:29

Forum Jump:


Users browsing this thread: 1 Guest(s)