mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-12 23:08:03 +03:00
Added query_client_cvar native
This commit is contained in:
parent
6bebf37f1a
commit
d3e2bad4e7
@ -785,3 +785,14 @@ native menu_item_setcall(menu, item, callback=-1);
|
||||
|
||||
// Gets distance between two origins (float)
|
||||
native Float:get_distance_f( Float:Origin1[3], Float:Origin2[3] );
|
||||
|
||||
// Dispatches a client cvar query
|
||||
// id: Player id
|
||||
// cvar: cvar name
|
||||
// resultFunc: public handler function
|
||||
// paramLen + params: optional array parameter
|
||||
// resultFunc looks like:
|
||||
// public callbackCvarValue(id, const cvar[], const value[])
|
||||
// or if you use the optional parameter:
|
||||
// public callbackCvarValue(id, const cvar[], const value[], const param[])
|
||||
native query_client_cvar(id, const cvar[], const resultFunc[], paramlen=0, const params[] = "");
|
Loading…
x
Reference in New Issue
Block a user