English [SP] Better Image Handler icon

4 comments
09.05.19 08:34:30 pm
like 1 likes it!
3 kb, 18 Downloads
Goo
User
Offline Off
IMG:https://i.imgur.com/McGkYMl.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 23×, last 11.06.19 06:09:05 pm
ok This file has been reviewed and approved by Seekay (28.05.19 03:15:58 am)

Comments

4 comments
Goto Page
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in
10.05.19 11:06:00 am
Up
Goo
User
Offline Off
I don't really know what you're talking about

It works like this:
Code:
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
10.05.19 05:15:33 am
like I like it!
Up
Serigala
User
Offline Off
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
edited 1×, last 13.05.19 01:19:31 pm
09.05.19 09:01:58 pm
Up
Goo
User
Offline Off
I've found it easier to make it the way I did, I might consider that in the future though.
09.05.19 08:47:59 pm
Up
Gaios
Security Supporter
Offline Off
You better should do it OOP
To the start Previous 1 Next To the start