CS2D
Scripts Admin ZP Admin ZP
4 Antworten 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
black_sheep You do realise that you gave the problem but not the script, right ? These both scripts conflict with each other. The only way is to integrate one's functionality into other's. Avo User Offline
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.