Thread: MouseOver?
View Single Post
  #4  
Old 10-27-2009, 05:26 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
You don't even need a loop for that.

PHP Code:
temp.p = findnearestplayer(mousex,mousey);
if (
p.x in |mousex+.5,mousex+2.5| && p.y in |mousey+1,mousex+3|) {
  
with (findimg(200 + temp.p.id * 2)) {
    
text = p.nick;
    
x = temp.p.x + 1.5;
    
y = temp.p.y + 3.2;
    
style = "bc";
    
font = $pref::graal::defaultfontname;
      
    
red = 0;
    
green = 1;
    
blue = 0;
    
layer = 0;
  } 
} else 
hideimg(200); 
This is theoretical, though... but I think it should work.
Reply With Quote