Best-Killer Posted December 14, 2016 Share Posted December 14, 2016 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
itHyperoX Posted December 14, 2016 Share Posted December 14, 2016 https://wiki.multitheftauto.com/wiki/SetElementData https://wiki.multitheftauto.com/wiki/GetElementData Link to comment
Best-Killer Posted December 14, 2016 Author Share Posted December 14, 2016 Dude !!! it's not geting from data it's geting from table dude bro :v Link to comment
Best-Killer Posted December 15, 2016 Author Share Posted December 15, 2016 anyone please Link to comment
ViRuZGamiing Posted December 15, 2016 Share Posted December 15, 2016 13 hours ago, MilOG said: https://wiki.multitheftauto.com/wiki/SetElementData https://wiki.multitheftauto.com/wiki/GetElementData 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
Best-Killer Posted December 16, 2016 Author Share Posted December 16, 2016 ok thx i'll try 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