another script problem, this is for offline now, but I will put it online. I want the GFX crosshair appear at the mouse, and move with it. But it only appears, it doesn't follow,

what's wrong?
NPC Code:
//NPC made By Excaliber
if(playerenters){
toweapons Fireball
}
if(weaponfired){
set shooting;timeout=.05;
if(shooting && timeout && isweapon){
showimg 300,dr-crosshairs.png,mousex,mousey;
timeout=.05;}
if(shooting && mousedown && leftmousebutton){
hitobjects 1,mousex,mousey;
unset shooting
}
}