its because the ani is already created. "" doesnt unset it in other players eyes, and also, it doesnt update that fast. setting it in a timeout however would cause some major slowage.
i came up with this, its a slight modification to your gani
PHP Code:
SCRIPT
function onCreated()
{
with( findimg(202))
{
attachtoowner = true;
layer = 2;
x = player.x - random( -0.5, -1);
y = player.y - random( -1, -0.1);
emitter.continueafterdestroy = true;
emitter.nrofparticles = 1;
emitter.emitautomatically = false;
emitter.particle.lifetime = 0.75;
emitter.particle.text = player.attr[11];
emitter.particle.mode = 1;
emitter.particle.red = 0;
emitter.particle.blue = 0;
emitter.particle.green = 1;
emitter.particle.style = "b";
emitter.particle.alpha = 1;
emitter.particle.zoom = 0.95;
emitter.particle.angle = pi / 2;
emitter.particle.speed = 1;
emitter.addlocalmodifier( "range", 0.375, 0.875, "alpha", "replace", 1, 0);
emitter.addlocalmodifier( "range", 0.1, 0.75, "speed", "replace", 4, 2);
}
onTimeout();
}
function onTimeout() {
if(player.attr[17] != thiso.currentinstruction) {
thiso.currentinstruction = player.attr[17];
with(findimg(202)) {
emmiter.particle.text = player.attr[11];
emitter.emit();
}
}
setTimer(.05);
}
SCRIPTEND
you keep the ani set as attr whatever (10 is which youre doing), then, you update player.attr[17] to something it wasnt before (anything really), and it will emit a new particle with whatever is stored in 11. Example weapon.
PHP Code:
//#CLIENTSIDE
function onCreated()
{
player.attr[18] = "hellraventest15.gani";
player.attr[17] = "ab";
}
function onPlayerchats() {
if(player.chat == "greenytest") {
this.teststring = player.attr[17] @ player.attr[17];
player.attr[17] = this.teststring.substring(1,2);
player.chat = player.attr[17];
}
player.attr[11] = "+12";
}
in that case, 17 is flipping between "ab" and "ba".
This method works best if youre constantly using this.