Thread
:
Float Cvar Tag mismatch Warning
View Single Post
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
12-20-2023 , 03:09 Re: Float Cvar Tag mismatch Warning
#
15
Most of what you said is correct. I do not necessarily see the point of
Safe_Float
because the admin can do
amx_cvar
right after and change the value.
Also, the same clamping logic (using
clamp
) can apply to integer cvars (
get_pcvar_num
), if minimum and maximum values are desired.
__________________
Last edited by HamletEagle; 12-20-2023 at
03:20
.
HamletEagle
View Public Profile
Send a private message to HamletEagle
Find More Posts by HamletEagle