; Mr.T76eM # Posted May 30, 2015 Share Posted May 30, 2015 السلام عليكم مطلوب فنشكن الي يجيب عدد الاعبين الي في السيرفر لاني بغيت اسوي سكربت وما لقيت الفنشكن .. Link to comment
' A F . Posted May 30, 2015 Share Posted May 30, 2015 آسهل له #getElementsByType("player") Link to comment
iMr.Dawix~# Posted May 30, 2015 Share Posted May 30, 2015 آسهل له #getElementsByType("player") .. اسهل بالنسبة لك .. : صاحب الموضوع اذا ما عرفت تسوي الكود هنا واحد نفس طلبك viewtopic.php?f=160&t=88447 Link to comment
#|_oskar_|# Posted May 30, 2015 Share Posted May 30, 2015 آسهل له #getElementsByType("player") ماشوفها اسهل له الاسهل له هاد الكود getPlayerCount Link to comment
N3xT Posted May 30, 2015 Share Posted May 30, 2015 onPlayerJoin -- Event onPlayerQuit -- Event getPlayerCount Link to comment
yazan Posted May 30, 2015 Share Posted May 30, 2015 function playerCount ( ) outputChatBox ( "There are now " .. getPlayerCount() .. " players on this server!" ) end addEventHandler ( "onPlayerJoin", getRootElement(), playerCount ) addEventHandler ( "onPlayerQuit", getRootElement(), playerCount ) 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