Talk:OnClientChangeNick

From Multi Theft Auto: Wiki
Revision as of 08:43, 11 March 2008 by Ransom (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)