فتى تبوك Posted December 21, 2012 Share Posted December 21, 2012 السلام عليكم ورحمة الله وبركاته مساكم الله بالخير يالربع ياشباب انا ابي اسم لااعب يظهر بالشات function( msg ) outputChatBox( 'getPlayerName :'.. msg , getRootElement( ), 255, 0, 0, true ) ابي اسوي صندوق محادثه بس مايجيي اسم الاعب Link to comment
TD[M]ER Posted December 21, 2012 Share Posted December 21, 2012 getPlayerName --- server side function chat ( msg ) local pn = getPlayerName (source) outputChatBox( ' " .. pn .. " :'.. msg , getRootElement( ), 255, 0, 0, true ) end addEventHandler( "onPlayerChat", getRootElement(), chat ) Link to comment
فتى تبوك Posted December 21, 2012 Author Share Posted December 21, 2012 انا سويت زي كذا بس ماظبط Link to comment
TD[M]ER Posted December 21, 2012 Share Posted December 21, 2012 --- SERVER SIDE local root = getRootElement() function chat(text, msgtype) local name = getPlayerName(source) outputChatBox("#808080 ".. name .. ":#00ffff " .. text, root, 255, 255, 255, true) end addEventHandler("onPlayerChat", root, chat) Link to comment
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