Forum

> > CS2D > Scripts > Why is this happening?
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Why is this happening?

9 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Why is this happening?

TKashi
User Off Offline

Zitieren
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? <

alt Re: Why is this happening?

Apache uwu
User Off Offline

Zitieren
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.

alt Re: Why is this happening?

Apache uwu
User Off Offline

Zitieren
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...

alt Re: Why is this happening?

KimKat
GAME BANNED Off Offline

Zitieren
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.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht