GetSVarNameAtIndex

From SA-MP Wiki

Jump to: navigation, search


Description:

Retrieve the name of a sVar via the index.


Parameters:
(index, ret_varname[], ret_len)
indexThe index of the sVar.
ret_varname[]A string to store the sVar's name in, passed by reference.
ret_lenThe max length of the returned string, use sizeof().


Return Values:

This function does not return any specific values.


Related Functions

The following functions may be useful, as they are related to this function in one way or another.

  • GetSVarFloat: Get the previously set float from a server variable.
  • GetSVarString: Get the previously set string from a server variable.