AHMED MOSTAFA Posted June 18, 2016 Share Posted June 18, 2016 السلام عليكم ورحمة الله وبركاته شباب عدلت على مود خرج اللاعب و دخل اللاعب المهم - سويت مع اسم اللاعب - سرياله ميشان اذا نشر اصكه سريال لكن السريال يخرف شوي اذا انا كنت بالسيرفر و شخص دخل يجيب اسم الشخص + السريال حقي واذا انا خرجت - يجيب اسمي للشخص + يجيب سرياله هو شوفو الاكواد و قولولي وش الخطأ -- client addEventHandler('onClientPlayerJoin', root, function() outputChatBox('* ' .. getPlayerName(source) .. ' has joined the game', 255, 100, 100) outputChatBox(getPlayerSerial(source), 255, 100, 100) end ) -- addEventHandler('onClientPlayerQuit', root, function(reason) outputChatBox('* ' .. getPlayerName(source) .. ' has left the game [' .. reason .. ']', 255, 100, 100) outputChatBox(getPlayerSerial(source), 255, 100, 100) end ) Link to comment
Ahmed Ly Posted June 18, 2016 Share Posted June 18, 2016 Server addEventHandler('onPlayerJoin', root, function() outputChatBox('* ' .. getPlayerName(source) .. ' has joined the game Serial = [' ..getPlayerSerial(source).. '] ',root, 255, 100, 100) end ) -- addEventHandler('onPlayerQuit', root, function(reason) outputChatBox('* ' .. getPlayerName(source) .. ' has left the game [' .. reason .. '] Serial = [' ..getPlayerSerial(source).. '] ',root, 255, 100, 100) end ) 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