Bl0nkt
04-08-2006, 02:07 AM
When a gani is shown clientside, it is supposed to show for everyone. Now, this may only apply to setAni(); as it changes the player's animation for everyone to see.
//#CLIENTSIDE
function onCreated()
{
this.gang_name = "gang";
}
function onPlayerEnters()
{
setCharAni("era_gang_door_neutral", "");
setshape2 5, 3, {0, 0, 0, 0, 0,
22, 0, 0, 0, 22,
22, 0, 0, 0, 22};
drawoverplayer();
setTimer(0.05);
}
function onTimeout()
{
if (player.y in |y, y+2| && player.x in |x, x+3|)
{
if (player.guild == this.gang_name)
{
setCharAni("era_gang_door_allow", "");
}else
setCharAni("era_gang_door_intruder", "");
}
setTimer(.05);
}
Here is my script. It detects if the player is under it, and if their tag is this.gang_name, it shows one gani. Otherwise, it shows another. This part is working fine, except it only shows it for the player under it. Is there a way to show a gani for everyone on the clientside?
//#CLIENTSIDE
function onCreated()
{
this.gang_name = "gang";
}
function onPlayerEnters()
{
setCharAni("era_gang_door_neutral", "");
setshape2 5, 3, {0, 0, 0, 0, 0,
22, 0, 0, 0, 22,
22, 0, 0, 0, 22};
drawoverplayer();
setTimer(0.05);
}
function onTimeout()
{
if (player.y in |y, y+2| && player.x in |x, x+3|)
{
if (player.guild == this.gang_name)
{
setCharAni("era_gang_door_allow", "");
}else
setCharAni("era_gang_door_intruder", "");
}
setTimer(.05);
}
Here is my script. It detects if the player is under it, and if their tag is this.gang_name, it shows one gani. Otherwise, it shows another. This part is working fine, except it only shows it for the player under it. Is there a way to show a gani for everyone on the clientside?