Hi Guys,
today i wanted to make a job system ....
so i had that table
{{3,1},{22,100}}
i wanted to make it draw the first of first table and first of second table as weapon
and second of first table and sec of sec table as ammo
{ {Weapon, Ammo}, {Weapon, Ammo} }
i tried this
dxDrawText("Weapons :#FFFFFF ".. table.foreachi(JobsData[3],function(k,v) return getWeaponNameFromID(v[1]).." - Ammo:"..v[2].."\n" end),10,320,10,320,tocolor(0,200,200,255),1,Core.TinyFont,"left","top",false,false,false,true)