Forum

> > CS2D > Scripts > Custom commands in console?
Forums overviewCS2D overview Scripts overviewLog in to reply

English Custom commands in console?

2 replies
To the start Previous 1 Next To the start

old Custom commands in console?

Marcell
Super User Off Offline

Quote
Welcome UnrealSoftware users!

Somebody can give some instructions for me to create custom commands in console?

I already did some changes in cmd.lst in /sys/core folder

added this line:
makeadmin:player

How can i do the function of the command?

old Re: Custom commands in console?

EngiN33R
Moderator Off Offline

Quote
You would need to use the cs2d lua hook parse hook. Its cmd argument is everything that the player sent to the console, so you would have to process it similarly to how you would process a chat command.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview