set cvar num with value with point
set_cvar_num("mycvar", 1.0)
argument type mismatch (argument 2) Tell me how to fix that? |
Re: set cvar num with value with point
num is integer
float is float anyway, use cvar pointers : set_pcvar_num(pcvar, 1) set_pcvar_float(pcvar, 1.0) |
Re: set cvar num with value with point
new g_iCvar;
g_iCvar = register_cvar("amx_var","1.0"); >> set_pcvar_num(g_iCvar,1); or set_pcvar_float(g_iCvar,1.0); |
| All times are GMT -4. The time now is 15:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.