View Single Post
  #1  
Old 11-02-2009, 06:01 AM
GULTHEX GULTHEX is offline
Registered User
Join Date: Jul 2008
Posts: 148
GULTHEX can only hope to improve
Exclamation iv got a zoom script i need help with

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?
Reply With Quote