this is the weapon
NPC Code:
//#CLIENTSIDE
function onWeaponFired()
{
if (this.on != true)
{
this.on = true;
player.attr[31] = "global_size.gani";
player.zoom = 6;
player.chat = "Zoom = On";
}
else
{
this.on = false;
player.attr[31] = "";
player.zoom = 1;
player.chat = "Zoom = Off";
}
}
and this is
global_size.gani
NPC Code:
function onPlayerEnters() {
if (params.size()>0)
this.setzoom = params[0];
player.zoom = this.setzoom;
}
But i cant figure Out how to make it Zoom so other people can see it.
Can sombody help me Please?