Forum
CS2D Scripts Disable SpraysDisable Sprays
10 replies 1
In New Game
Apart from that, I don't know of other ways to do it...
You may perform an action with Lua when someone sprays a logo though (using the spray hook). For example kick that player. I guess the logo will be sprayed anyway but I think most people will only spray once that way.
1
2
3
4
5
2
3
4
5
addhook("spray","_spray") function _spray(id) 	local i=image("<tile:"..tile(player(id,"tilex"),player(id,"tiley"),"frame")..">",math.floor(player(id,"tilex"))*32+16,math.floor(player(id,"tiley"))*32+16,0) 	timer(120*1000,"parse","lua freeimage("..i..")") end
1