View Single Post
kww
Senior Member
Join Date: Feb 2021
Location: Russia
Old 04-08-2021 , 10:12   Re: how to deal with task spam?
Reply With Quote #5

Quote:
Originally Posted by LondoN View Post
Try removing the 'id+taskid' and just use 0 = for all players
not working. it have the same effect

Quote:
Originally Posted by jimaway View Post
any message sent on the server will cause the task to be set if winnerTeam = true
i think you're wrong. Task starting when winnerTeam is not false

Quote:
Originally Posted by jimaway View Post
just get rid of the onMessageSent() and the 0.1 second task altogether and use csx forwards to send the hud messages
tbh i'm catching not only that 2 messages
PHP Code:
//what is in full code:
enum {
    
NO_MSG 0// 0
    
CT_WIN// 1
    
T_WIN// 2
    
TARGET_SAVED// 3
    
BOMB_PLANTED// 4
    
BOMB_DEFUSED// 5
    
HOSTAGES_RESCUED// 6
    
HOSTAGES_NOT_RESCUED// 7
    
VIP_ESCAPED// 8
    
VIP_ASSASSINATED // 9

Quote:
Originally Posted by LondoN View Post
CSX is much better but if he want's to block default messages still need to hook his way.
You're right, i'm blocking standard messages and sending hud messages instead

Last edited by kww; 04-08-2021 at 11:25.
kww is offline