Dateien

> > CS2D > Lua Scripts > [MT] Better Image Handler
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch [MT] Better Image Handler >

4 Kommentare3 kb, 402 Downloads

alt [MT] Better Image Handler

Mami Tomoe
User Off Offline

IMG:https://cdn.discordapp.com/attachments/434982221405880320/852177930309206026/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: >
25× editiert, zuletzt 06.07.21 23:54:38
Zugelassen von Seekay

Download Download

3 kb, 402 Downloads

Kommentare

4 Kommentare
Zum Anfang Vorherige 1 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

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.
1× editiert, zuletzt 10.05.19 11:17:59

alt

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
Ich mag es!
1× editiert, zuletzt 13.05.19 13:19:31

alt

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.

alt

Gaios
Reviewer Off Offline

You better should do it OOP
Zum Anfang Vorherige 1 Nächste Zum Anfang