Okay i've maked a 'expansion' on that connect message script. And as usual i got errors...
Code:
#include <amxmodx>
public client_putinserver(id) {
new UserName[33]
get_user_name(id, UserName, 32)
new message[64]
format(message,63,"%s has joined the game!",UserName)
set_hudmessage(100, 100, 100, 0.50, 0.50, 0, 6.0, 12.0, 1, 1, 1)
show_hudmessage(id,message)
}
public client_connect(id) {
new UserName[33]
get_user_name(id, UserName, 32)
new message[64]
format(Dmessage,63,"%s is connecting to the game!",Username)
set_hudmessage(100,100,100, 0.50, 0.50, 0, 6.0, 12.0, 1, 1, 1)
show_hudmessage(id,message)
}
public plugin_init(){
register_plugin("client_putinserver","1.0","stigma")
register_plugin("client_connect","1.0","stigma")
return PLUGIN_CONTINUE
}
Please help....