Forum

> > CS2D > Scripts > What's the wron of this?
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch What's the wron of this?

2 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt What's the wron of this?

Slooper 1
BANNED Off Offline

Zitieren
hi can u search error in this ?:
Mehr >


look screenshot
IMG:https://s29.postimg.org/f5ueumzw7/aim_shotgun_00000.png

alt Re: What's the wron of this?

GeoB99
Moderator Off Offline

Zitieren
The problem is in the hooks. From what I see, you've added two say hooks which they both return value as 1 in the function parameter and can cause conflicts between them.
1
2
addhook("say","admin_say")
addhook("say","admin_say")
That's the issue. The easiest method is by remove one of these hooks and let ONLY one say hook!

alt Re: What's the wron of this?

Slooper 1
BANNED Off Offline

Zitieren
Zitat
The problem is in the hooks. From what I see, you've added two say hooks which they both return value as 1 in the function parameter and can cause conflicts between them.
Code:
1
2
addhook("say","admin_say")
addhook("say","admin_say")

That's the issue. The easiest method is by remove one of these hooks and let ONLY one say hook!


@user GeoB99: ah thanks , that's help me
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht