Jump to content

what i have to do ?


Best-Killer

Recommended Posts

i have this in server side : 

jobRanks = {
    ['Criminal'] = {
        [0] = "Robber",
        [85] = "Assaltant",
        [150] = "Mercenary",
        [280] = "Carjacker",
        [500] = "O.G",
        [700] = "Underboss",
        [1000] = "Kingpin",
    },
}

function getJobRankTable ( )
    return jobRanks
end

and i want get them in Client Side to put them like  : 

function test ()
dxDrawText("RankName                                  Number", 648, 431, 791, 459, tocolor(255, 255, 255, 255), 1.00, textfront, "left", "top", false, false, false, false, false)
end

What i have to do guys ?

Link to comment
13 hours ago, MilOG said:

Isn't used for cliënt to server transport, Triggers are. I suggest you start reading the Wiki because I see you react everywhere but none are really helpfull.

8 hours ago, Best-Killer said:

anyone please 

You Can pass the table as argument with the trigger

If the ranks don't change send them on resource start if they change send them each change to update

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