gate problem..help please?
#1

ok guys i made a [MAP] and i released it...all is good!
and i want to update it by adding /open (to open the gate)
but it dont work? here's my code:

Код:
if (strcmp("/open", cmdtext, true, 10) == 0)
{
       MoveObject(object,1587.690,-1437.827,4.755, 2.00);
       SetTimer("close", 7000, 0);//gate will be  closed for 7 seconds
       SendClientMessage(playerid,COLOR_LIGHTBLUE,"You are opening a Gate, and will be closed automaticly..");
       return 1;}
}
	return 0;
}

public close()
{
    MoveObject(object,3439.1003417969, -1964.4346923828, 8.7441129684448, 3.00);
    return 1;
}
Reply


Messages In This Thread
gate problem... /open not working - by Abraham2nd - 28.11.2010, 11:39
Re: gate problem..help please? - by marinov - 28.11.2010, 16:34
Re: gate problem..help please? - by WillyP - 28.11.2010, 16:35
Re: gate problem..help please? - by Miado_Hulk - 28.11.2010, 16:58
Re: gate problem..help please? - by Abraham2nd - 29.11.2010, 20:43
Re: gate problem..help please? - by [UG]Scripter - 29.11.2010, 20:55
Re: gate problem..help please? - by Abraham2nd - 29.11.2010, 21:00
Re: gate problem..help please? - by [UG]Scripter - 29.11.2010, 21:02
Re: gate problem..help please? - by Abraham2nd - 29.11.2010, 21:03
Re: gate problem..help please? - by Abraham2nd - 29.11.2010, 21:06

Forum Jump:


Users browsing this thread: 2 Guest(s)