From SA-MP Wiki
Retrieve the name of a player's pVar via the index.
|playerid||The ID of the player whose player variable to get the name of.|
|index||The index of the player's pVar.|
|ret_varname||A string to store the pVar's name in, passed by reference.|
|ret_len||The max length of the returned string, use sizeof().|
|Returns||This function doesn't return a specific value|
The following functions may be useful, as they are related to this function in one way or another.
- GetPVarType: Get the type of the player variable.
- GetPVarInt: Get a player variable as an integer.
- GetPVarFloat: Get the previously set float from a player variable.
- GetPVarString: Get the previously set string from a player variable.