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