View Single Post
  #1  
Old 04-05-2007, 10:53 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
gani problem >_<

Well, once again I have a gani problem...!

I'm using Ziro's method as he explained in his other thread...
But I don't know if I am doing it wrong or it's something wrong with the script(s)



I'm using this to attach the gani, in an onPlayerEnters() event
PHP Code:
player.attr[5] = "chompy_interface.gani";
player.attr[6] = @{player.nickclientr.mud.stats_level}; 
gani script
PHP Code:
SCRIPT
function onPlayerEnters()
  
setTimer(0.05);
function 
onTimeout()
{
  
with(findimg(2)) {
    
text player.attr[6].tokenize(",")[0];
    
player.1.5;
    
player.3.5;
    
zoom 0.8;
    
style "bc";
    
red 1;
    
green 1;
    
blue 1;
    
alpha 0.99;
    
layer 0;
  }
  
with(findimg(3)) {
    
text "[Level" SPC player.attr[6].tokenize()[1] @ "]";
    
player.1.5;
    
player.4.5;
    
zoom 0.65;
    
style "bc";
    
red 0;
    
green 0.88;
    
blue 0;
    
alpha 0.99;
    
layer 0;
  }
setTimer(0.05);
}
SCRIPTEND 
The problem is, let's say there are 5 players in a level, as myself, number 1,
I can see 1, 2 and 3 for example, BUT not 4 and 5..
But, 4 and 5 can see everyones (1, 2, 3, 4, and 5)..

Quite annoying..

Anyone (or Ziro) could help me with this?
__________________

Last edited by Chompy; 04-05-2007 at 11:27 PM..
Reply With Quote