Forum

> > CS2D > Scripts > Lua Editing Support needed
Forums overviewCS2D overview Scripts overviewLog in to reply

English Lua Editing Support needed

4 replies
To the start Previous 1 Next To the start

moved Lua Editing Support needed

bladez4200
User Off Offline

Quote
Hey guys new to the forums not new to the game of cs2d. i need help wit a lua script can i change the lua script like rp script cause i want to use 2 scripts but both of them use the same commands to use them. f2 f3 f4 is their anyway i can change them to like f5 f6 f7? so i can have my admin script and vip and roleplay script to make a good server for my project of cs2d.

Admin/mod comment

don't post twice and please post in the right section next time.

old Re: Lua Editing Support needed

Apache uwu
User Off Offline

Quote
You may only change serveraction keys client sided...

1
2
3
bind "f5" "serveraction1"
bind "f6" "serveraction2"
bind "f7" "serveraction3"

This will only affect client side.

old Re: Lua Editing Support needed

sixpack
User Off Offline

Quote
This is not what he wants... Probable.
No, you can't hook buttons such as f5,6,7 with Lua, so if 2 scripts use F2,F3 and F4, you have to change the hotkeys on one of them in order to make them work.
So you can use E, or say something like !vip.

It is easy to modify them if you know Lua, but the problem is most scripts out there do NOT allow you to modify them so you will have to contact the scripter for a "Private Version".

old Re: Lua Editing Support needed

Apache uwu
User Off Offline

Quote
I was dumbfounded by your poor English.

There is no easy way to merge 2 lua files. You will need to know how to make lua yourself to know how to make them work together.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview