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
Using these callback parameters, you get error when compile.
test.sp(6) : error 100: function prototypes do not match
test.sp(9) : error 159: brackets after variable name indicate a fixed-size array, but size could not be determined - either specify sizes, an array initializer, or use dynamic syntax (such as 'char[] x')
test.sp(9) : error 159: brackets after variable name indicate a fixed-size array, but size could not be determined - either specify sizes, an array initializer, or use dynamic syntax (such as 'char[] x')
test.sp(9) : error 159: brackets after variable name indicate a fixed-size array, but size could not be determined - either specify sizes, an array initializer, or use dynamic syntax (such as 'char[] x')
test.sp(9) : fatal error 190: too many error messages on one line
function Action (int clients[MAXPLAYERS], int &numClients, char sample[PLATFORM_MAX_PATH],
int &entity, int &channel, float &volume, int &level, int &pitch, int &flags,
char soundEntry[PLATFORM_MAX_PATH], int &seed)
The text was updated successfully, but these errors were encountered:
I missed your issue issue earlier this year about this, but the problem is the code that generates the API pages doesn't parse and show the array sizes (among other things, like default parameters). It's been a known issue for, uh, maybe years now. I'm going to close your other one and edit this one's title into one about the mis-parsing/displaying.
On this page, using NormalSHook
https://sm.alliedmods.net/new-api/sdktools_sound/NormalSHook
Using these callback parameters, you get error when compile.
Need to look from file
https://sm.alliedmods.net/new-api/sdktools_sound/__raw
And get right one:
The text was updated successfully, but these errors were encountered: