 |
|
Veteran Member
Join Date: Sep 2019
Location: Egypt
|

08-19-2020
, 07:28
Re: player name
|
#6
|
Quote:
Originally Posted by anakonda001
hi, how can I fix it? in the chat instead of the player's name writes Half Life Dedicated Server
Code:
new name[33]
get_user_name(0, name, 32)
ChatColor(0, "Player %s zeroed out the murders!", name)
|
try this
PHP Code:
static szName[32]
get_user_name(index, szName, charsmax(szName))
ChatColor(0, "Player %s zeroed out the murders!", szName)
|
|
|
|