ItsMods

Full Version: icon+sound doesnt work?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
this is the code:
Code:
        notifyData = spawnstruct();
        notifyData.iconName = "cardicon_doubletap";
        notifyData.titleText = "NEW ^0TACTICAL DEAGLE ^7AMMO";
        notifyData.notifyText = " ";
        notifyData.notifyText2 = " ";
        notifyData.glowColor = (0.3, 0.6, 0.3); //RGB Color array divided by 100
        notifyData.sound = "mp_bomb_plant"; //Sound
        self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );

don't work Sad I also tried to change the sound, doesn't work.
I tried the icon name just: doubletap, doesn't work...
Precache the icon.
(04-23-2011, 18:53)zxz0O0 Wrote: [ -> ]Precache the icon.
uhmmmm how?

(and the sounds btw?)
(04-23-2011, 18:56)eliteCVDelite Wrote: [ -> ]
(04-23-2011, 18:53)zxz0O0 Wrote: [ -> ]Precache the icon.
uhmmmm how?

(and the sounds btw?)

In Init() in _rank.gsc, put PrecacheShader("iconname");
and how do I let the sound work(lolz)

because this dont works, only the level up(i tested a few)