Costumize Supply Health
7 replies



25.02.14 04:30:21 am
Hi all!
how to make a health of supply!
cuz some player destroy my supply then the supply not spawn again..I need Strong supply, when supply hit not dmg
Thnx here the cookies
how to make a health of supply!
cuz some player destroy my supply then the supply not spawn again..I need Strong supply, when supply hit not dmg
Thnx here the cookies

Like this file --»
File does not exist (14802)
AWP2D MOD 4.0 [English Version] (4)
zm_Tower Defense v.1.3 (0) «--





Admin/mod comment:

Admin/mod comment:


you are'nt helping..
Like this file --»
File does not exist (14802)
AWP2D MOD 4.0 [English Version] (4)
zm_Tower Defense v.1.3 (0) «--





Yes! @
Sparty: I need, i need a stronger supply when hit not dmg..I really need it..

Like this file --»
File does not exist (14802)
AWP2D MOD 4.0 [English Version] (4)
zm_Tower Defense v.1.3 (0) «--





Code:
1
parse('mp_building_health "Supply" 99999999999')
or
Code:
1
2
3
4
5
6
7
2
3
4
5
6
7
addhook('objectdamage', '_objectdamageHook')
function _objectdamageHook(dynid, dmg)
if object(dynid, 'typename') == 'Supply' and dmg > 0 then
return 1
end
end
function _objectdamageHook(dynid, dmg)
if object(dynid, 'typename') == 'Supply' and dmg > 0 then
return 1
end
end
edited 1×, last 25.02.14 03:21:15 pm
@
Alistaire:

Quote:
wrong language. Code:
1
&&
A thousand may fall at your side, ten thousand at your right hand, but it will not come near you. You will only look with your eyes and see the recompense of the wicked. - Psalm 91:7-8 ESV



