Forum
CS2D General flamethrower healflamethrower heal
28 replies1
2
3
4
5
6
2
3
4
5
6
addhook("hit","flamethrower_heal") function flamethrower_heal(id,source,weapon,hpdmg,apdmg) 	if(weapon == 46) then 	parse ("sethealth "..id.." "..player(id,"health")+10) 	end end
mortyr22 has written
sry not work!
where did you copy that script? it works on me. I already test it with bot.
i dont know why this dont work.
1.Check Lua file (make sure its .lua not .lua.txt !)
2.In More options under mp_luaserver type the name for exmaple flame_heal.lua
3. Play server!
And oh. make sure file is in CS2D/sys/lua
otherwise it will not work
Peace!!
i turn off friendli fire !!! and work!!!