native

zpn_player_data_set_prop

Syntax

native zpn_player_data_set_prop(const player, ePropPlayerDataRegisters:prop, any:...);

Description

Sets a client data property.

Parameters

player Client index
prop Property to set, from ePropPlayerDataRegisters
... New property value

Note

This is a low-level accessor. Prefer the specific helper natives when
one exists for the value you need.

Note

The expected value type depends on the property. See
ePropPlayerDataRegisters in zombie_plague_next_const.inc.

Return

1 on success

Error

If player is not within the valid client range, an error can
be thrown by the underlying array access.