Code: Select all
if ( distancebetween < 85 ){
damage = 10
WAR3_damage(targetid, id, damage, CSW_SERPENTWARD, -1)
client_cmd(targetid, "speak ambience/thunder_clap.wav")
Create_ScreenFade(targetid, (1<<10), (1<<10), (1<<12), red, green, blue, 255)
}
Code: Select all
Create_ScreenFade(id, (1<<10), (1<<10), (1<<12), 255, 0, 0, 0)
I changed targetid, to id hoping that was who put it down, but i dont know what the variable for the person that lays it. I know there has to be one, cause when u die from it, it says who killed u. If you can help me out that would be great. thanks -Viper