AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   get users sensitivity? (https://forums.alliedmods.net/showthread.php?t=20518)

SentryIII 11-10-2005 16:43

get users sensitivity?
 
I need to be able to get a users sensitivity and get_user_info doesnt seem to work for sensitivity.

Anyways, Im looking for ideas...

Zenith77 11-10-2005 16:44

query_client_cvar() ?

DarkSnow 11-10-2005 16:45

Yea, is this possible at all? Or, if not through amxx maybe fakemeta? Or will it have to be done by client-side modifications?

Zenith77 11-10-2005 16:47

No I meant the function...

http://www.amxmodx.org/funcwiki.php?...cvar&go=search

XxAvalanchexX 11-10-2005 16:53

Code:
new Float:sensitivity[33]; public receive_sensitivity(id, cvar, value) {    if(equali(cvar,"sensitivity")) {       sensitivity[id] = floatstr(value);    } } public get_sensitivity(id) {    query_client_cvar(id, "sensitivity", "receive_sensitivity"); }


All times are GMT -4. The time now is 00:01.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.