Code:
public plugin_init()
{
register_clcmd("say /jucatori","cmd_anunt")
}
public cmd_anunt(id)
{
new jucatori = get_playersnum()
set_hudmessage(200, 100, 40, -1.0, 0.15, 0, 1.0, 5.0, 0.1, 0.2, -1)
show_hudmessage(0, "In server sunt %s", jucatori)
}
The problem is cause when i press /jucatori (in game) nothing happend.
Please fix my plugin.