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);
}