Page 1 of 1

Get the current player name

PostPosted: Sun Oct 23, 2016 00:41
by Nekrofage
Hi,

I would like to know what is the good the method to get the player name that execute a chat command?

Thank you! :D

Re: Get the current player name

PostPosted: Sun Oct 23, 2016 06:49
by Byakuren
The chatcommand's callback receives the player name as its first parameter.

Re: Get the current player name

PostPosted: Sun Oct 23, 2016 07:02
by Nekrofage
Oh, thank you Byakuren !!