View Single Post
  #1  
Old 08-21-2009, 12:49 AM
littlekinky littlekinky is offline
Registered User
littlekinky's Avatar
Join Date: Sep 2007
Posts: 185
littlekinky has a little shameless behaviour in the past
Showing symbol (What's wrong ?)

Ok i have this script i took the icon script that cbk provided and i wanted it to show a symbol when the weapon is fired please help me out ?

PHP Code:
//#CLIENTSIDE
function onCreated()
{
  
this.On = false;
  
setTimer( 0.1 );
}

function 
onWeaponFired()
{
  
this.On = 1 - this.On;
}

function 
onCreated() { 
  for (
temp.pl : players) {
    
showimg(200 + pl.id, "stafficonimage.png",player.x - -0.4, player.y - -3.3);;
    
changeimgvis(200 + pl.id, 0);
    
changeimgcolors(200 + pl.id, 1, 0, 0, 7);
  }
  
  
setTimer(0.05);
} 
Reply With Quote