AMX Mod X API Documentation

Signature
native global_get(_value, any:...);
Description

any global variable inside globalvars_t structure. Use the glb_* enum.

Notes
  • When returning data from glb_pStringBase (the global string table), you may give a pointer into that table

    in order to get different strings.

    Example:

    new model[128]

    new ptr = pev(id, pev_viewmodel)

    global_get(glb_pStringBase, ptr, model, 127)

Назад
Верх