help! invalid function or declaration
#3

Quote:
Originally Posted by (SF)Noobanatior
Посмотреть сообщение
Код:
if (strcmp("/opengate", cmdtext, true, 10) == 0)return MoveObject (Gate, 808.36328125,842.77441406,6.87612963, 1);
thatt should do it
ok thanks for that much!

Next! lol Im getting the same error for closing the gate on the last two lines. (closing the gate and return 1)

Код:
	if (strcmp("/opengate", cmdtext, true, 10) == 0)return MoveObject (Gate, 808.36328125,842.77441406,6.87612963, 1);
	
	return 1;
	}
	
	if (strcmp("/closegate", cmdtext, true, 10) == 0)return MoveObject (Gate, 808.36328125,842.77441406,10.42612743, 1);

	return 1;
	}
Reply


Messages In This Thread
help! invalid function or declaration - by Dennis_Smith - 21.02.2011, 03:57
Re: help! invalid function or declaration - by (SF)Noobanatior - 21.02.2011, 04:02
Re: help! invalid function or declaration - by Dennis_Smith - 21.02.2011, 05:14
Re: help! invalid function or declaration - by austin070 - 21.02.2011, 05:42
Re: help! invalid function or declaration - by Dennis_Smith - 21.02.2011, 05:50

Forum Jump:


Users browsing this thread: 1 Guest(s)