Wirtualnosc has written
So my question is:
How to make laser heal anyone who will be hurt with it?
How to make laser heal anyone who will be hurt with it?
1
2
3
4
5
6
2
3
4
5
6
addhook("hit","laser_heal")
function laser_heal(id,source,weapon,hpdmg,apdmg)
if(weapon == 45) then
parse ("sethealth "..id.." "..player(id,"health")+10)
end
end
make sure friendlyfire off
Lua Scripts/Questions/Help


Offline
I think I am mixing some language when I'm thinking.