2 questions for public and stock
#1

Hi!
Код:
public OOCNews(color,const string[])
{
	foreach(Player, i)
	{
	    if(gPlayerLogged[i] == 1)
	    {
			SendClientMessage(i, color, string);
	    }
	}
}
1. question: What is better to use for this: public or stock? and why you choose that?
2. question: Do i need to put return 1; to all functions on the end, when it do work in that public/stock/function, for ex this public OOCNews...

Thank you!
Reply


Messages In This Thread
2 questions for public and stock - by DusanInfinity - 08.12.2015, 20:57
Re: 2 questions for public and stock - by Kevln - 08.12.2015, 21:31
Re: 2 questions for public and stock - by DusanInfinity - 08.12.2015, 21:39
Re: 2 questions for public and stock - by Vince - 08.12.2015, 21:43
Re: 2 questions for public and stock - by Kevln - 08.12.2015, 22:20
Re: 2 questions for public and stock - by AmigaBlizzard - 09.12.2015, 20:50
Re: 2 questions for public and stock - by DusanInfinity - 18.12.2015, 18:26

Forum Jump:


Users browsing this thread: 3 Guest(s)