NEED HELP!
#2

ah, you obviously forgot to place them two commands in the proper callback, where they belong in:
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if(strcmp("/open",cmdtext,true,5) == 0)
	{
		MoveObject(AdminGate,-1362.0649414063, 937.86163330078, 1035.4147949219,2.9000);
		return 1;
	}
	if(strcmp("/close",cmdtext,true,6) == 0)
	{
		MoveObject(AdminGate,-1371.8898925781, 937.91900634766, 1035.4486083984,3.0);
		return 1;
	}
	return 0;
}
Reply


Messages In This Thread
NEED HELP! - by gummi1337 - 16.06.2010, 23:52
Re: NEED HELP! - by Babul - 17.06.2010, 01:31

Forum Jump:


Users browsing this thread: 2 Guest(s)