shwaeki Posted January 7, 2014 Share Posted January 7, 2014 السلام عليكم و رحمة الله و بركاتة ابي كود ماركر يجيب عدد يلي جواتو و ابي كود يجيب عدد يلي في التيم عشين ابي احطهم في لوحة Link to comment
فاّرس Posted January 7, 2014 Share Posted January 7, 2014 countPlayersInTeam getTeamFromName بالنسبه عدد الي داخل الماركر , استخدم وظيفه طلال, https://wiki.multitheftauto.com/wiki/getPlayersInMarker Link to comment
TAPL Posted January 7, 2014 Share Posted January 7, 2014 كود طلال ماله داعي ذا كله تقدر تسويه بسطر واحد local TotalPlayer = #getElementsWithinColShape(getElementColShape(marker), "player") Link to comment
shwaeki Posted January 7, 2014 Author Share Posted January 7, 2014 طيب اخي كيف اخلية ماركر بدل كول شيب Link to comment
Mr-M3AND Posted January 7, 2014 Share Posted January 7, 2014 طيب اخي كيف اخلية ماركر بدل كول شيب عادي تقدر تستخدم الكود مع الماركر Link to comment
#DRAGON!FIRE Posted January 9, 2014 Share Posted January 9, 2014 تقدر عن طريق الجدأول , اسهل وافضل table -- onMarkerHit table.insert [ player ] -- onMarkerLeave table.remove [ player ] Link to comment
TAPL Posted January 9, 2014 Share Posted January 9, 2014 تقدر عن طريق الجدأول , اسهل وافضل table -- onMarkerHit table.insert [ player ] -- onMarkerLeave table.remove [ player ] اسهل من هذا؟ كود طلال ماله داعيذا كله تقدر تسويه بسطر واحد local TotalPlayer = #getElementsWithinColShape(getElementColShape(marker), "player") Link to comment
shwaeki Posted January 9, 2014 Author Share Posted January 9, 2014 طيب ابية يجي في الجراند لست كيف جربت ما عرفتسويت زي يلي يطلع الفلوس في اليبل بس ما زبط Link to comment
TAPL Posted January 9, 2014 Share Posted January 9, 2014 طيب وين كودك عشان نشوف المشكلة؟ Link to comment
shwaeki Posted January 9, 2014 Author Share Posted January 9, 2014 local TotalPlayer = #getElementsWithinColShape(getElementColShape(marker), "player") addEventHandler ( "onClientRender", root, function ( ) if ( guiGetVisible ( GUIEditor.window[1] ) ) then guiSetText ( GUIEditor.label[1], "player: " .. TotalPlayer ( ) ) end end ) Link to comment
shwaeki Posted January 9, 2014 Author Share Posted January 9, 2014 هاد من دون الوحة و الماركر Link to comment
TAPL Posted January 9, 2014 Share Posted January 9, 2014 addEventHandler ( "onClientRender", root, function ( ) if ( guiGetVisible ( GUIEditor.window[1] ) ) then local TotalPlayer = #getElementsWithinColShape(getElementColShape(marker), "player") guiSetText ( GUIEditor.label[1], "player: "..TotalPlayer) end 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