Description :
This zombie after his death automatically respawned .
zp_max_spawn - number of spawn , def -3
zp_spawn_time - time for respawn , def - 5
zp_color - color for respawn on/off , def - 1(on)
zp_color_spawn - color , def 0 255 0 (green)
zp_color_amount - force of color , def 30
zp_color_time - How long the effect lasts , def 10
LOG:
Code:
v 2.0 add cvar : zp_max_spawn , zp_spawn_time
v 3.0 fix cvar zp_max_spawn , zp_spawn_time - dont work + add model
v 4.0 add new effect colored spawn , thanks fezh for this code
v 5.0 corrected some mistakes , and update cvar zp_max_spawn
Thanks PomanoB for help
Last edited by CHyCMyMpNk; 04-14-2010 at 15:23.
Reason: v 5.0