Jump to content

مساعدة في اليمنت داتا


Recommended Posts

3 minutes ago, jakson said:

وضح طلبك و اعرض محولاتك و راح نساعدك أن شاء الله

        setElementData(thePlayer,"HaveBox",0)

انا كنت ابي اول ما المود يشتغل يحط
setElementData للاعب 

صفر

في السيرفر سايد*

Link to comment
Pl = getElementsByType ( "player" )
addEventHandler("onResourceStart",resourceRoot,
    function()
        setElementData(Pl,"HaveData",0)
   end
)

كدا تقصد؟

 

6 minutes ago, jakson said:

استخدم 


onResourceStart

و هات صيغه الاعب ب

getElementByType

وحط الداتا للاعب 

 

Link to comment
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...