Skip to content

v0.2.5 Released

Latest
Compare
Choose a tag to compare
@drakeee drakeee released this 22 Jul 19:40
  • Added "tocolor" function which provide to convert color/number from 64 bit to
    32 bit (Lua is in 64bit, PAWN is in 32bit, therefore there was some
    mix-up). Usage:
tocolor(r, g, b, a)
tocolor(r, g, b)
tocolor(hex color)

I.E.:
tocolor(255, 0, 0, 255)
tocolor(255, 0, 0)
tocolor(0xFF0000FF)

P.S.: If I have more free time I will make a wiki for this plugin.