many thanks holliday
this works:
server_var(_popup_userid)
now i am going to prove the stopsound
and tyhe finished thing is the conditional that doesnt works
this works:
server_var(_popup_userid)
now i am going to prove the stopsound
and tyhe finished thing is the conditional that doesnt works
Code: [Select]
[block kame
{
es est_playplayer server_var(_popup_userid) goku/wcKamehameha.wav
es_xset mivar 0
es es_delayed 3 est_getviewplayer server_var(_popup_userid) mivar
if (server_var(mivar) != "0") do
{
es es_delayed 3 est_playplayer server_var(_popup_userid) goku/wfKamehameha.wav
es es_delayed 3 es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(_popup_userid)
es es_delayed 3 es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 server_var(mivar)
es es_delayed 3 est_effect 3 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1 10 10 0 0 180 255;es wcs_dealdamage server_var(_popup_userid) server_var(mivar) 300
}}/code]

Logged



