here is the change i want.
the following code section executes like this:
Given:
Playername: Gumby
Authority: Admin all acess
when Admin player "Gumby" executes the following command in the console:
amx_say guns [Enter]
the following is written to each players in the servers screen:
(ALL) Gumby: guns [Enter]
what i want is this:
(ALL): guns [Enter]
Code:
[1]public cmdSay(id,level,cid) {
[2] if (!cmd_access(id,level,cid,2))
[3] return PLUGIN_HANDLED
[4] new message[192],name[32],authid[32],userid
[5] read_args(message,191)
[6] remove_quotes(message)
[7] get_user_authid(id,authid,31)
[8] get_user_name(id,name,31)
[9] userid = get_user_userid(id)
[10] client_print(0,print_chat,"%L",LANG_PLAYER, "PRINT_ALL",name,message)
[11] console_print(id,"%L",LANG_PLAYER,"PRINT_ALL",name,message)
[12] log_amx("Chat: ^"%s<%d><%s><>^" say ^"%s^"", name,userid,authid,message)
[13]log_message("^"%s<%d><%s><>^" triggered ^"amx_say^" (text ^"%s^")",name,userid,authid,message)
[14] return PLUGIN_HANDLED
[15]}