native
zpn_player_data_get_prop
Syntax
native any:zpn_player_data_get_prop(const player, ePropPlayerDataRegisters:prop, any:...);
Description
Retrieves a client data property.
Parameters
| player | Client index |
|---|---|
| prop | Property to retrieve, from ePropPlayerDataRegisters |
| ... | Reserved for future property-specific outputs |
Note
This is a low-level accessor. Prefer the specific helper natives when
one exists for the value you need.
Return
Property value, or 1 if the property is not handled
Error
If player is not within the valid client range, an error can
be thrown by the underlying array access.