OnPlayerKeyStateChange returning
#1

Hi all, I don't understand when I should write 'return 0;' or 'return 1;' when I want to call OnPlayerKeyStateChange, as example:
Код HTML:
if(playerhavesomething)
{
	if(isplayerinrangeofpoint)
	{
		if(playerhavesomething2)
		{	
			//
		}
	}
}
So when i should write return and WHY? Or maybe I shouldn't write this?

And sorry for my bad english.
Reply


Messages In This Thread
OnPlayerKeyStateChange returning - by rOps - 30.01.2015, 20:09
Re: OnPlayerKeyStateChange returning - by Abagail - 30.01.2015, 20:13
Re: OnPlayerKeyStateChange returning - by CalvinC - 30.01.2015, 20:16
Re: OnPlayerKeyStateChange returning - by rOps - 30.01.2015, 20:17
Re: OnPlayerKeyStateChange returning - by Abagail - 30.01.2015, 20:47

Forum Jump:


Users browsing this thread: 2 Guest(s)