hey, I wanted to create plugin which will add prefix to client's name.
example: player conects to the server whose name is "NAME", and his name will be changed into "[player] NAME"
I tried this code but did't help:
PHP Code:
public client_connect(id) {
new name[32]
get_user_name(id, name, 31)
client_cmd(id, name, ^"[player] %s^", name)
}