Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local many = howManyColor(owned, owned[tiles[tostring(i)]])
- local colorcount = howManyColor(owned, owned[tiles[tostring(i)]], true)
- dxDrawRectangle((sX - width) / 2, (sY - 720), many*5, 26, colors[owned[tiles[tostring(i)]]], false)
- if colorcount > 2 then
- local last_many = howManyColor(owned, owned[tiles[tostring(i)]])
- dxDrawRectangle(many*5 + (sX - width) / 2, (sY - 720), last_many*5, 26, colors[owned[tiles[tostring(i)]]], false)
- end
Advertisement
RAW Paste Data
Copied
Advertisement