#DRAGON!FIRE Posted February 14, 2014 Share Posted February 14, 2014 ما فهمت ذا يا زاحف setTimer ( function( ) local g_Team = getTeamFromName ( "TestT" ) if ( g_Team ) then for _,v in ipairs ( getPlayersInTeam ( g_Team ) ) do setElementVisibleTo ( marker, v, true ) end سويت تايمر جديد .. جبت التيم من اسمه > تحققت من وجوده _ جبت كل اللاعبين اللي بالتيم ~ وسويت الماركر يضهر لهم ذذ Link to comment
Mo6tafa Posted February 14, 2014 Share Posted February 14, 2014 الي معقدنيً ذول Fir Iparus do Local Link to comment
#DRAGON!FIRE Posted February 14, 2014 Share Posted February 14, 2014 الي معقدنيً ذولFir Iparus do Local Fir > for _ = هذي من الصعب شرحها بس هي وقت تجي مثلا تسوي لوب او كذا Iparus > ipairs _ = هذي وظيفتها تجيب كل القيم الموجودة بالجدول اللي تحدده do _ = for تجي مع local _ = محلي .. https://forum.multitheftauto.com/viewtopic.php?f=164&t=51228 Link to comment
Mo6tafa Posted February 14, 2014 Share Posted February 14, 2014 والله نفسي افهم سوي شرح شامل لهم Link to comment
#DRAGON!FIRE Posted February 14, 2014 Share Posted February 14, 2014 بس انت مو مسوي جدول getPlayersInTeam Returns: Returns a table of all the players in the team, or an empty one if there are none else false if invalid arguments are passed. 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