(306) _PLAYER_NAME
Effect
Puts the player name in the Buffer at the given index.
Syntax
_PLAYER_NAME(index)
Argument | Description | Types | Required |
---|---|---|---|
index | The index of the buffer to write the value to | Work, Float | Required |
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
.