Forum
Scripts
Disable Sprays
Disable Sprays
10 replies
1

In New Game
Apart from that, I don't know of other ways to do it...
sv_spraytransfer as server would just disable transfer of custom spraylogo images.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.
DC: What will happen if he disables sv_spraytransfer and removes default spraylogos from the folder(if it's possible, I'm not sure)?
Accurator: That souldn't be a problem1
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

Offline