Jump to content

:Experience


ZeyadGTX

Recommended Posts

لو ســمحتم انا عملـــت ليفلات شغال وكل شيء تمام وكل ليفل ليه صوره كنت حابب احط الصوره في السكوربورد الكود بتاعي اهو

  
exports.scoreboard:addScoreboardColumn('Rank',getRootElement(),1,40,'Rank') 
function scoreLevel () 
    local account = getPlayerAccount(source) 
    local Rank = getAccountData(account, "experience.rank") 
    if isGuestAccount ( account ) then 
        setElementData(source, "Rank",":experience/emblems/newbie.png") 
    else 
        setElementData(source, "Rank", tostring(":experience/emblems/"..Rank..".png" ))       
    end 
end 
addEventHandler("onPlayerSpawn", getRootElement(), scoreLevel) 
addEventHandler("onResourceStart",getResourceRootElement(getThisResource()), 
function() 
        call(getResourceFromName("scoreboard"),"addScoreboardColumn","Rank", getRootElement(), 1, 40) 
    end 
) 
  

بس بيكون مكتوب في التاب :experience/Emblems/newbie.png

Link to comment

-- Server Side # 
exports.scoreboard:addScoreboardColumn('Rank',getRootElement(),1,40,'Rank') 
  
function scoreLevel () 
    local account = getPlayerAccount(source) 
    local rank = getAccountData(account, "experience.rank") 
    if not rank then return end 
        if isGuestAccount ( account ) then 
            setElementData(source,"Rank",{type="image",src=":experience/emblems/newbie.png",height=11,width=16}) 
    else 
            setElementData(source,"Rank",{type="image",src=":experience/emblems/"..rank..".png",height=11,width=16})         
    end 
end 
addEventHandler("onPlayerSpawn", getRootElement(), scoreLevel) 
Link to comment
-- Server Side # 
exports.scoreboard:addScoreboardColumn('Rank',getRootElement(),1,40,'Rank') 
  
function scoreLevel () 
    local account = getPlayerAccount(source) 
    local rank = getAccountData(account, "experience.rank") 
    if not rank then return end 
        if isGuestAccount ( account ) then 
            setElementData(source,"Rank",{type="image",src=":experience/emblems/newbie.png",height=11,width=16}) 
    else 
            setElementData(source,"Rank",{type="image",src=":experience/emblems/"..rank..".png",height=11,width=16})         
    end 
end 
addEventHandler("onPlayerSpawn", getRootElement(), scoreLevel) 

الكود شغال بس مافي صوره في التاب الخانه فاضيه

Link to comment
-- Server Side # 
exports.scoreboard:addScoreboardColumn('Rank',getRootElement(),1,40,'Rank') 
  
function scoreLevel () 
    local account = getPlayerAccount(source) 
    local rank = getAccountData(account, "experience.rank") 
    if not rank then return end 
        if isGuestAccount ( account ) then 
            setElementData(source,"Rank",{type="image",src=":experience/emblems/newbie.png",height=11,width=16}) 
    else 
            setElementData(source,"Rank",{type="image",src=":experience/emblems/"..rank..".png",height=11,width=16})         
    end 
end 
addEventHandler("onPlayerSpawn", getRootElement(), scoreLevel) 

الكود شغال بس مافي صوره في التاب الخانه فاضيه

شغال يعني ضبط الكولمن ؟

والخانه فاضيه يعني الداتا غلط او عندك خطأ بالداتا

الكود الصحيح عندك هذا

exports.scoreboard:addScoreboardColumn('Rank',getRootElement(),1,40,'Rank') 

الباقي اغلبهن خطأ

Link to comment

ذا كود كنق

exports.scoreboard:addScoreboardColumn("Level",getRootElement(),1,40,'Level') 
  
function scoreLevel () 
    local account = getPlayerAccount(source) 
    local Level = getElementData(source,"Level") or 0 
    if isGuestAccount ( account ) then 
        setElementData(source, "Level",":resourceName/ranks/0.png") 
    else 
        setElementData(source, "Level", ":resourceName/ranks/"..tostring(Level)..".png" )                                       
    end 
addEventHandler("onPlayerSpawn", getRootElement(), scoreLevel) 
addEventHandler("onResourceStart",getResourceRootElement(getThisResource()),function() 
        call(getResourceFromName("scoreboard"),"addScoreboardColumn","Level", getRootElement(), 1, 40) 
    end 
) 
end 

وذا كودك الي تقول " انه كودك وانت مسويه -_- "

  
exports.scoreboard:addScoreboardColumn('Rank',getRootElement(),1,40,'Rank') 
function scoreLevel () 
    local account = getPlayerAccount(source) 
    local Rank = getAccountData(account, "experience.rank") 
    if isGuestAccount ( account ) then 
        setElementData(source, "Rank",":experience/emblems/newbie.png") 
    else 
        setElementData(source, "Rank", tostring(":experience/emblems/"..Rank..".png" ))       
    end 
end 
addEventHandler("onPlayerSpawn", getRootElement(), scoreLevel) 
addEventHandler("onResourceStart",getResourceRootElement(getThisResource()), 
function() 
        call(getResourceFromName("scoreboard"),"addScoreboardColumn","Rank", getRootElement(), 1, 40) 
    end 
) 
  

وتحلف !

انت تعرف وش معنى الحلف ؟

Link to comment
I HAVE THE :o CODE FORM CASTILLO's EXP FAK OFF

FAK = fu ck

form = from

ومفروض تكتب اول حرف بالكلمة كبير والباقي صغير

وش فاك الله يهديكـ :lol::lol:

يقصد فيكـ بس ناسي حرف

Fake

ممكن اني خطا بس هذا اللي فهمته .

هو حاط

FAK OFF

مفروض

fu ck off

شيل المسافة بين u , k

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...