We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
20:25:54 Error in expression <mode"): { private _currentWeaponMode = tolower currentWeaponMode player; privat> 20:25:54 Error position: <tolower currentWeaponMode player; privat> 20:25:54 Error tolower: Type Number, expected String 20:25:54 File \grad_minui_weaponInfo\functions\fn_showWeaponInfo.sqf [grad_minui_fnc_showWeaponInfo], line 32
Happened on end of mission.
See: https://community.bistudio.com/wiki/currentWeaponMode
(currentWeaponMode) will return 0 Number if given object is a vehicle instead of a person.
The text was updated successfully, but these errors were encountered:
Acknowledged.
Best solution would be to just exit the function if currentWeaponMode returns a number. https://github.com/DerZade/grad_minui/blob/master/addons/grad_minui_weaponinfo/functions/fn_showWeaponInfo.sqf#L32
currentWeaponMode
Sorry, something went wrong.
d3e0532
DerZade
No branches or pull requests
Happened on end of mission.
See:
https://community.bistudio.com/wiki/currentWeaponMode
The text was updated successfully, but these errors were encountered: