19.12.2015, 15:21
ForbiddenWeapons is only used for the sake of determining the array size and sizeof does not run actively within that callback but rather on compile and as such it will be seen as unused. Rather replace it with the array size (best practice) or else use
if you aren't ever going to use the array for anything else (but that seems like such a waste)
Код:
#pragma unused ForbiddenWeapons

