Kas7 Posted July 22, 2020 Share Posted July 22, 2020 ابي اخلي setElementData() اول ما يبداء المود تكون ب 0 في السيرفر سياد ممكن مساعدة؟ Link to comment
jakson Posted July 22, 2020 Share Posted July 22, 2020 وضح طلبك و اعرض محولاتك و راح نساعدك أن شاء الله Link to comment
Kas7 Posted July 22, 2020 Author Share Posted July 22, 2020 3 minutes ago, jakson said: وضح طلبك و اعرض محولاتك و راح نساعدك أن شاء الله setElementData(thePlayer,"HaveBox",0) انا كنت ابي اول ما المود يشتغل يحط setElementData للاعب صفر في السيرفر سايد* Link to comment
jakson Posted July 22, 2020 Share Posted July 22, 2020 (edited) استخدم onResourceStart و هات صيغه الاعب ب getElementByType وحط الداتا للاعب Edited July 22, 2020 by jakson Link to comment
Kas7 Posted July 22, 2020 Author Share Posted July 22, 2020 Pl = getElementsByType ( "player" ) addEventHandler("onResourceStart",resourceRoot, function() setElementData(Pl,"HaveData",0) end ) كدا تقصد؟ 6 minutes ago, jakson said: استخدم onResourceStart و هات صيغه الاعب ب getElementByType وحط الداتا للاعب Link to comment
N3xT Posted July 22, 2020 Share Posted July 22, 2020 addEventHandler("onResourceStart", resourceRoot, function() for _, player in pairs(getElementsByType("player")) do setElementData(player, "HaveData", 0) end end ) 1 Link to comment
Kas7 Posted July 22, 2020 Author Share Posted July 22, 2020 2 minutes ago, N3xT said: addEventHandler("onResourceStart", resourceRoot, function() for _, player in pairs(getElementsByType("player")) do setElementData(player, "HaveData", 0) end end ) شكرا لك علي المساعدة Link to comment
jakson Posted July 23, 2020 Share Posted July 23, 2020 5 hours ago, Kas7 said: شكرا لك علي المساعدة حاول تتعلم مع نفسك لأن الي يضيع وقته في مساعدتك مره ما راح يضيعها تاني 1 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