mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-04-09 11:10:07 +03:00
Add srvcmd syntax
This commit is contained in:
parent
2335f89536
commit
aa44e57c92
@ -43,7 +43,7 @@ public plugin_init()
|
|||||||
register_dictionary("scrollmsg.txt");
|
register_dictionary("scrollmsg.txt");
|
||||||
register_dictionary("common.txt");
|
register_dictionary("common.txt");
|
||||||
|
|
||||||
register_srvcmd("amx_scrollmsg", "setMessage");
|
register_srvcmd("amx_scrollmsg", "setMessage", _, "<message>");
|
||||||
bind_pcvar_string(get_cvar_pointer("hostname"), g_hostname, charsmax(g_hostname));
|
bind_pcvar_string(get_cvar_pointer("hostname"), g_hostname, charsmax(g_hostname));
|
||||||
|
|
||||||
bind_pcvar_num(create_cvar( "amx_scrollmsg_color_red", "200", _, "Red color amount", true, 0.0, true, 255.0), g_amx_scrollmsg_color_red);
|
bind_pcvar_num(create_cvar( "amx_scrollmsg_color_red", "200", _, "Red color amount", true, 0.0, true, 255.0), g_amx_scrollmsg_color_red);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user