Well i've tryed to make a script, that would wirte a HUD message to a client when he joins... It goes like this:
Code:
#include <amxmodx>
public client_putinserver(id) {
new username[33] get_user_name(id,username,32);
}
client_connect(id) {
set_hudmessage("255", "0", "0", "1.0", "0.35", "1", "6.0", "12.0", "1", "1", "4")
show_hudmessage("%s has joined the server!", username)
}
public plugin_init(){
register_plugin("connect","1.0","stigma")
return PLUGIN_CONTINUE
}
I got one error:
(Line 4) error 001: expected token: ";", but found "-identifier-"
I hope some on can help me with this.