Code:
#include <amxmodx>
public plugin_init()
{
register_plugin("Alfred", "1.0", "Alfred")
register_clcmd("say", "cmd_say")
register_clcmd("say_team", "cmd_sayteam")
}
public cmd_say(id)
{
new arg[192]
read_args(arg, 191)
remove_quotes(arg) // Say Message are encase in Quotes
client_print(0, print_chat, "[ZOMG Say] %s", arg)
// Then use parse, spilt, or strbreak to break apart the arugments
}
public cmd_sayteam()
{
new arg[192]
read_args(arg, 191)
remove_quotes(arg) // Say Message are encase in Quotes
client_print(0, print_chat, "[ZOMG Team Say] %s", arg)
// Then use parse, spilt, or strbreak to break apart the arugments
}
__________________