help with a bit of lua

So i need so if someone talks it will auto add say [CG] to the front of there name im getting stumped help? lol

Read the example here: http://wiki.garrysmod.com/page/GM/PlayerSay

If you want a client side version to add colour, then use this hook instead.

TY BIC BOI