Talk:OnClientChangeNick

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

I've made a page according to some stuff I know, but I can't get the event to work, so if anyone knows how to make a nice working example it'd be great if you could add it --Jumba 16:54, 10 February 2008 (CST)

function ClientChangeNick ( oldNick, newNick )
	outputChatBox ( "hi" )
	outputChatBox ( "* "..oldNick.." is now known as "..newNick, root, 255, 180, 0 )
end
addEventHandler ( "onClientChangeNick", root, ClientChangeNick )

This doesn't work I think its broke. --Ransom 03:43, 11 March 2008 (CDT)