Yet another neewbies request here
so an example:
PHP Code:
new g_name[32]
public client_putinserver(id) {
get_user_name(id, g_name, charsmax(name))
set_task(2.0, "somefunc, id, _, _, "b")
}
public somefunc(id) {
set_hudmessage(210, 105, 30, 0.01, 0.76, 0, _, 1.9,_, 0.1, -1 )
show_hudmessage(id, "Your name: %s", g_name)
}
this script must show you some hudmess with your name, but when new player connects in hudmess you will see his name and hudmess will be shown to all players.
Can anybody tell me how to prevent this?