Forum

> > CS2D > Scripts > What's the wron of this?
Forums overviewCS2D overview Scripts overviewLog in to reply

English What's the wron of this?

2 replies
To the start Previous 1 Next To the start

old What's the wron of this?

Slooper 1
BANNED Off Offline

Quote
hi can u search error in this ?:
More >


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

old Re: What's the wron of this?

GeoB99
Moderator Off Offline

Quote
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!

old Re: What's the wron of this?

Slooper 1
BANNED Off Offline

Quote
Quote
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
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview