developer Posted February 17, 2015 Share Posted February 17, 2015 شباب وش معني كود SetTimer Link to comment
Professional Posted February 17, 2015 Share Posted February 17, 2015 يعني مثلا لو حطينا انو تفتح الوحه بعد ثانيه شوف setTimer(opwin, 1000, 1, source) 1000= ثانيه بل مختصر هي الوقت مثلا تبي تفتح الوحه بعد 5 دقائق حط 5 الاف كذا Link to comment
nxFairlywell Posted February 17, 2015 Share Posted February 17, 2015 يا ابن الحلال ذا القسم الرئيسي ماهو قسم البرمجه : _ setTimer هو توقيت يحدث بعده الشيء الذي تريده ان يحدث ... مثال يعطي اللاعبين بالسيرفر 50 الف دولار كل ساعه .. function givePlayersMoney() for _, player in ipairs ( getElementsByType("player") ) do givePlayerMoney( player, 50000 ) end end setTimer(givePlayersMoney, 60000*60, 0) وراح اعطيك مثال ثاني لما ينقل للقسم الأنسب Link to comment
developer Posted February 17, 2015 Author Share Posted February 17, 2015 وش.هو الجعفر ؟ Link to comment
shwaeki Posted February 17, 2015 Share Posted February 17, 2015 viewtopic.php?f=160&t=69297&p=646604&hilit=%D8%B4%D8%B1%D8%AD+Settimer#p646604 viewtopic.php?f=160&t=83620&p=760222&hilit=%D8%B4%D8%B1%D8%AD+Settimer#p760222 viewtopic.php?f=160&t=64482&p=609534&hilit=%D8%B4%D8%B1%D8%AD+Settimer#p609534 كلهم نفس طلبك 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