Skip to main content

(306) _PLAYER_NAME

Effect

Puts the player name in the Buffer at the given index.

Syntax

_PLAYER_NAME(index)
ArgumentDescriptionTypesRequired
indexThe index of the buffer to write the value toWork, FloatRequired

Example

ev_dummy:
_PLAYER_NAME(0)
_TALKMSG('dp_dummy_file%dummy_msg')

The above script will put the player name in buffer position 0 and then print out the message from dp_dummy_file%dummy_msg.