View Single Post
Spyrek
Senior Member
Join Date: Jun 2009
Old 08-20-2018 , 13:27   Re: calling stock "ByteCountToCells" that has no generated code
Reply With Quote #8

Quote:
Originally Posted by Dr!fter View Post
Looks like you are declaring it in the global scope. I'm not exactly sure if this is a bug or not. But, you can declare the variable in the global scope and then set it in OnPluginStart.

Edit: Thinking back I've had a similar issue I believe it ended up not being a bug, but more the error is just confusing.
Thanks! It's was used in global scope, after declaring globally and set in OnPluginStart plugin compiles without errors.
Spyrek is offline