You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The compiler issues error 042 (invalid combination of class specifiers) when specifier stock is used when defining a function whose name starts with @ (because such names imply public, and public functions can't be stock), but doesn't do the same for variables.
Minimal complete verifiable example (MCVE):
stock@Func(){}// error 042: invalid combination of class specifiersstock @var =0;// no errors/warnings
Workspace Information:
Compiler version: 3.2.3664, 3.10.10
Command line arguments provided (or sampctl version):