Forum

> > CS2D > Scripts > Admin ZP
Forums overviewCS2D overview Scripts overviewLog in to reply

English Admin ZP

4 replies
To the start Previous 1 Next To the start

old Admin ZP

J_Lucas
User Off Offline

Quote
hi i did an script , an admin script , but i cant add tag ,
i downloaded 3 or 4 admin (with tags) scripts , but when i use the emoticons scripts its cause a bug ,

example
[Admin]black_sheep:hi (with color)
black_sheep:hi (without color)

so i need help to fix it , i wanna stay with emoticons and tag script , so please asnwer this

us black_sheep

old Re: Admin ZP

Rainoth
Moderator Off Offline

Quote
You do realise that you gave the problem but not the script, right ?

old Re: Admin ZP

VADemon
User Off Offline

Quote
These both scripts conflict with each other. The only way is to integrate one's functionality into other's.

old Re: Admin ZP

Avo
User Off Offline

Quote
It's caused by two 'say' hooks. First script returns 1, the second one does not. I mean in say function (script with admin tags) there's line with "return 1". In the ZP if there's no command in text player says, it returns 0(message is showed normally).

Of course both functions are called every msg that player sends. It's reason why there are two messages in one time, but I'm too lazy to make one function from these 2.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview