try it like this
if the effects are backwards change attacker to userid and userid to attacker
es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(attacker);es es_xmath wcs_z2 + 120;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_effect 7 #a 0 sprites/smoke.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 10 0.5;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_Effect 3 #a 0.2 sprites/lgtning.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 1.2 40 40 255 255 0 200;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_effect 10 #a 0.4 sprites/plasma1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 25 65 2.2 60 100 4 255 255 0 155 2"
If I do it like that the yellow beam would point from him to me or me to him I think, but as you see the effects in the pictures thats how they are supposed to be like. So at the moment it should all be working as it supposed to as far as I know, it even worked with a few errors >.< but i have corrected them all, at least as far as i know. :mrgreen: