How to create a move object.
#6

[.pawn] [/pawn] (without the .)



Quote:
Originally Posted by vIBIENNYx
Посмотреть сообщение
pawn Код:
if (strcmp("/open", cmdtext, true, 10) == 0)
    {  
                          MoveObject(2990,2483.01660156,-1687.36755371,16.42179298,1000);
        SetTimer("close", 10, 0);//the gate will close after 10 seconds
       
       return 1;
    }
Try that.
10,000 milliseconds = 10 seconds
10 milliseconds = 10 milliseconds. (instantly calls close function once the gate opens)
Reply


Messages In This Thread
How to create a move object. - by Gangster-rocks - 22.05.2012, 13:42
Re: How to create a move object. - by [ABK]Antonio - 22.05.2012, 13:43
Re: How to create a move object. - by Gangster-rocks - 22.05.2012, 13:45
Re: How to create a move object. - by Gangster-rocks - 22.05.2012, 13:53
Re: How to create a move object. - by vIBIENNYx - 22.05.2012, 13:55
Re: How to create a move object. - by [ABK]Antonio - 22.05.2012, 13:55
Re: How to create a move object. - by vIBIENNYx - 22.05.2012, 14:00
Re: How to create a move object. - by [ABK]Antonio - 22.05.2012, 14:01
Re: How to create a move object. - by vIBIENNYx - 22.05.2012, 14:02
Re: How to create a move object. - by SuperViper - 22.05.2012, 14:17

Forum Jump:


Users browsing this thread: 2 Guest(s)