AMX Mod X API Documentation

Signature
native bool:get_pcvar_bounds(pcvar, CvarBounds:type, &Float:value);
Description

Retrieves the specified value boundary of a cvar.

Parameters
  • pcvar Pointer to cvar
  • type Type of boundary to retrieve
  • value Variable to store the specified boundary to
Returns

True if the cvar has a boundary set, false otherwise

Errors
  • If an invalid cvar pointer or boundary type is provided,

    an error will be thrown.

Назад
Верх