gate question
#1

with whatever command you close a gate? Code please
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  	if(strcmp(cmdtext, "/open", true) == 0)
  	{
    new string[50];
    new movetime = MoveObject(obj, 226.70172119141, 1872.1501464844, 18.659656524658, 2.00);
    format(string, sizeof(string), "Object will finish moving in %d milliseconds", movetime);
    SendClientMessage(playerid, 0xFF000000, string);
    return 1;
  	}
  	return 0;
}
Reply


Messages In This Thread
gate question - by justinkomnuga - 06.04.2010, 09:54
Re: gate question - by Last_Stand_Guardian - 06.04.2010, 09:59
Re: gate question - by justinkomnuga - 06.04.2010, 10:03
Re: gate question - by Jay420 - 06.04.2010, 10:13
Re: gate question - by justinkomnuga - 06.04.2010, 10:17
Re: gate question - by DeadalusNetwork - 06.04.2010, 10:21
Re: gate question - by DeadalusNetwork - 06.04.2010, 10:22
Re: gate question - by justinkomnuga - 06.04.2010, 10:25
Re: gate question - by justinkomnuga - 06.04.2010, 10:27
Re: gate question - by biltong - 06.04.2010, 10:30

Forum Jump:


Users browsing this thread: 1 Guest(s)