Files

> > CS2D > Lua Scripts > [MT] Better Image Handler
Files overviewCS2D overviewLua Scripts overview

English [MT] Better Image Handler >

4 comments3 kb, 432 Downloads

old [MT] Better Image Handler

Mami Tomoe
User Off Offline

IMG:https://legacy.tiro-finale.com/images/MamiTomoeUnrealSoftware.png



Note that I'm not a professional, don't expect top tier Lua quality.
If you're looking for perfection, look elsewhere.
Otherwise, this is for you!


Simple description:
This file consists of a couple functions made to replace the default image functions provided by CS2D.
Unless you have basic knowledge of Lua, this wont work for you!
I've included a couple example pictures here but you should read the documentation below!

Advanced description: >


• I have fully created this file!
• This file was only made for personal use!
• I do not force you to include credits (IN YOUR SERVER), hell I didn't even include my name in the file. But it would be nice if you would.

Change Log: >
edited 26×, last 03.06.24 10:21:35 pm
Approved by Seekay

Download Download

3 kb, 432 Downloads

Comments

4 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

Mami Tomoe
User Off Offline

I don't really know what you're talking about

It works like this:
1
table[imageid] = { properties }

And then you can use the GET function to get something out of that table or the SET function to set something in that table, also affecting the image.
edited 1×, last 10.05.19 11:17:59 am

old

Serigala
User Off Offline

You should put new array instead of id for image, because when you add cs2d lua cmd image it will automatically become image in game and the cs2d lua cmd image will return to image-number. Also you can add cs2d lua cmd freeimage with condition before put the cs2d lua cmd image to avoid appearing multiple images.

Anyway good job
I like it!
edited 1×, last 13.05.19 01:19:31 pm

old

Mami Tomoe
User Off Offline

I've found it easier to make it the way I did, I might consider that in the future though.

old

Gaios
Reviewer Off Offline

You better should do it OOP
To the start Previous 1 Next To the start