fast_and_furius Posted February 20, 2008 Posted February 20, 2008 hi i will like to know if any one has a script that tells you: Wellcome nickoftheplayer to servername In the chat plese it will realy help me
Mr.Hankey Posted February 20, 2008 Posted February 20, 2008 http://development.mtasa.com/index.php?title=OnPlayerJoin the example there is exactly what you want...
norby89 Posted February 20, 2008 Posted February 20, 2008 (edited) addEventHandler ( "onPlayerJoin", getRootElement, function() local name = getClientName ( source ) outputChatBox ( "Welcome " .. name .. " to INSERT_SERVER_NAME_HERE", source, 255, 255, 255 ) end ) you can change the color to anything you like EDIT: moo.. hankey beat me to it EDIT2: fixed Edited February 21, 2008 by Guest
Jumba' Posted February 20, 2008 Posted February 20, 2008 addEventHandler ( "onPlayerJoin", getRootElement, function() local name = getClientName outputChatBox ( "Welcome " .. name .. " to INSERT_SERVER_NAME_HERE", source, 255, 255, 255 ) end ) you can change the color to anything you like EDIT: moo.. hankey beat me to it you forgot to add which player's name it has to get. But anyway, the one on the wiki is fine
fast_and_furius Posted February 20, 2008 Author Posted February 20, 2008 addEventHandler ( "onPlayerJoin", getRootElement, function() local name = getClientName outputChatBox ( "Welcome " .. name .. " to INSERT_SERVER_NAME_HERE", source, 255, 255, 255 ) end ) you can change the color to anything you like EDIT: moo.. hankey beat me to it i dont know what to do whit the script i dont know of scripts
norby89 Posted February 22, 2008 Posted February 22, 2008 Copied here, from http://development.mtasa.com/index.php? ... PlayerJoin thank you captain obvious
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now