Quote:
Originally Posted by Sreaper
Add // in front of #pragma newdecls required or delete the line entirely.
|
No, that's not going to fix the errors.
Here are lines 31-32:
PHP Code:
HintIndex[2048+1];
HintEntity[2048+1];
If you comment out "#pragma newdecls required", those lines will still give errors because they lack any "type". It also doesn't make sense to delete that line entirely considering the whole plugin itself is written in new syntax anyway. It's better to enforce the new syntax in this case rather than telling someone to remove the requirement.
To truly fix those errors, just declare the two variables as "int".
PHP Code:
int HintIndex[2048+1];
int HintEntity[2048+1];
__________________