/open and /close don't work.
#1

pawn Код:
CreateObject(2990,2479.87768555,-1720.38623047,16.46136665,0.00000000,0.00000000,179.99993896); //object(wongs_gate) (1)
pawn Код:
if (strcmp("/open", cmdtext, true, 10) == 0)
    {
        SendClientMessage(playerid, 0xFFCFFF, " You've opened the gate please close it ");
        MoveObject(2990,2479.87768555,-1720.38623047,16.46136665,0.00000000,0.00000000,179.99993896,1);
        SetTimer("close", 10000, 0);//the gate will close after 10 seconds
       
       return 1;
    }
if (strcmp("/close", cmdtext, true, 10) == 0)
    {
        SendClientMessage(playerid, 0xFFCFFF, " You've closed the gate thanks for closing it ");
        MoveObject(2990,2479.87768555,-1720.38623047,16.46136665,0.00000000,0.00000000,179.99993896,0);
What i've to do.
Reply


Messages In This Thread
/open and /close don't work. - by Gangster-rocks - 31.05.2012, 12:54
Re: /open and /close don't work. - by Jonny5 - 31.05.2012, 13:31
Re: /open and /close don't work. - by HuSs3n - 31.05.2012, 13:39
Re: /open and /close don't work. - by [jS]Thomas - 31.05.2012, 13:39
Re: /open and /close don't work. - by Gangster-rocks - 31.05.2012, 14:12
Re: /open and /close don't work. - by Gangster-rocks - 31.05.2012, 14:22
Re: /open and /close don't work. - by Gangster-rocks - 31.05.2012, 14:24
Re: /open and /close don't work. - by HuSs3n - 31.05.2012, 14:42
Re: /open and /close don't work. - by newbienoob - 31.05.2012, 14:47
Re: /open and /close don't work. - by HuSs3n - 31.05.2012, 15:11

Forum Jump:


Users browsing this thread: 3 Guest(s)