Forum

> > CS2D > Scripts > Why is this happening?
Forums overviewCS2D overview Scripts overviewLog in to reply

English Why is this happening?

9 replies
To the start Previous 1 Next To the start

old Why is this happening?

TKashi
User Off Offline

Quote
Some time ago, I entered my server and saw that



Look at the - The Admin 2.0 - Text

It appears and the "non admin text" appears too.

> Someone can give me the answer for the problem? <

old Re: Why is this happening?

Apache uwu
User Off Offline

Quote
Only run the admin script v2.0 alone, it uses very generic hook names causing it to conflict with other lua files. If you know how to script rewrite the script to make it work.

old Re: Why is this happening?

Apache uwu
User Off Offline

Quote
If he didn't modify the existing script there should be no problem with standalone. However if he merged any other scripts that also have

1
addhook("say","_say")

Then he might have a problem...

old Re: Why is this happening?

KimKat
GAME BANNED Off Offline

Quote
Type luareset in the console and type sv_restart 0 right after it. It'll clear all the lua scripts, after you've done that apply any lua script you want to add. The default lua file which usually loads other lua scripts is the server.lua located in (<game dir>\sys\lua\) just edit the file and write a line in the end like this...
1
dofile("sys\lua\admin script\admin script.lua")
To disable the lua script simply do...
1
-- dofile("sys\lua\admin script\admin script.lua")
It's quite easy to do that part actually. But to edit lua scripts will require knowledge of functions and so on.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview