Chompy

04-05-2007, 11:53 PM

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

player.attr[5] = "chompy_interface.gani";

player.attr[6] = @{player.nick, clientr.mud.stats_level};

gani script

SCRIPT

function onPlayerEnters()

setTimer(0.05);

function onTimeout()

{

with(findimg(2)) {

text = player.attr[6].tokenize(",")[0];

x = player.x + 1.5;

y = player.y + 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] @ "]";

x = player.x + 1.5;

y = player.y + 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?

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

player.attr[5] = "chompy_interface.gani";

player.attr[6] = @{player.nick, clientr.mud.stats_level};

gani script

SCRIPT

function onPlayerEnters()

setTimer(0.05);

function onTimeout()

{

with(findimg(2)) {

text = player.attr[6].tokenize(",")[0];

x = player.x + 1.5;

y = player.y + 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] @ "]";

x = player.x + 1.5;

y = player.y + 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?