added get_global()

This commit is contained in:
Borja Ferrer
2006-03-14 17:15:52 +00:00
parent 9283cbe1c2
commit d7bef2ae4b
2 changed files with 51 additions and 0 deletions

View File

@ -22,6 +22,9 @@ native set_pev(_index,_value,{Float,Sql,Result,_}:...);
*/
native pev_valid(entindex);
/* Returns any global variable inside globalvars_t structure. Use the glb_* enum. */
native global_get(_value, {Float,Sql,Result,_}:...);
/* Returns an integer from private data. _linuxdiff is added into the _Offset if it's used on a linux server. */
native get_pdata_int(_index,_Offset,_linuxdiff=5);