View Single Post
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 07-20-2022 , 06:32   Re: [L4D2] Infected Hud
Reply With Quote #27

Quote:
Originally Posted by Sreaper View Post
I'm not sure what setup you have but I only get a warning after commenting it out.
I'm not sure why it doesn't give errors, but it's probably because in the old syntax all variables have the implicit "int" type if no type is given explicitly. The rest of my previous post is still correct, since the two variables are used throughout the plugin's code as entity indexes, so they're clearly "int" type. It's better to just type them properly / correct the code rather than suppressing the errors by removing the new syntax requirement.
__________________
Psyk0tik is offline