function LocalEffect takes string modelpath, real x, real y, player forplayer returns effect
if GetLocalPlayer()!=forplayer then
set modelpath=""
endif
return AddSpecialEffect(modelpath,x,y)
endfunction
function LocalTargetEffect string modelpath, widget target, string attach, player forplayer returns effect
if GetLocalPlayer()!=forplayer then
set modelpath=""
endif
return AddSpecialEffectTarget(modelpath,target,attach)
endfunction