UserMesasages Help

Try to make my notify system and get stucked:

Here from clientside
[LUA]
function ReciveNotify(um)
CreateNotify(um:ReadString(),um:ReadFloat(),um:ReadString())
end
usermessage.Hook(“SendNotify”,ReciveNotify)
[/LUA]

How to make function like ply:Notify(“Test”, 4, “test.png”)

[lua]function debug.getregistry().Player:Notify( Text, Length, Image )
umsg.Start( “SendNotify”, self )
umsg.String( Text )
umsg.Float( Length )
umsg.String( Image )
umsg.End()
end[/lua]

Thanks!