undefined symbol (stock)
#1

Код HTML:
stock www()
{
}

public OnGameModeInit()
{
	www(); // 151 line
	return 1;
}
Код HTML:
undefined symbol "www" // 151 line
dahell
Reply
#2

Quote:
Originally Posted by ******
Посмотреть сообщение
1) Are you sure that is all your code?

2) What is the line number of the error?

3) If you are calling the function, why is it "stock"?
1) No, but im sure that problem isn't with code in stock.

2) I thought that was obvious... Nevermind, topic edited.

3) What should I use instead of stock?
Reply
#3

Quote:
Originally Posted by ******
Посмотреть сообщение
1) The problem is that the tiny snippet you posted is fine, so the error is obviously not there but caused by some other code you haven't posted. If you don't know where the problem IS, you can't assume you know where the problem ISN'T.

2) See 1.

3) Nothing.
1) You were right. Problem solved, I just forget to add "}" in one place. Stupid me.

2) Good.

3) Like dis?

www()
{
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)