![]() |
|
icon+sound doesnt work? - Printable Version +- ItsMods (https://www.itsmods.com) +-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html) +--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html) +--- Thread: icon+sound doesnt work? (/Thread-icon-sound-doesnt-work.html) |
icon+sound doesnt work? - Xzite - 04-23-2011 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 I also tried to change the sound, doesn't work.I tried the icon name just: doubletap, doesn't work... RE: icon+sound doesnt work? - zxz0O0 - 04-23-2011 Precache the icon. RE: icon+sound doesnt work? - Xzite - 04-23-2011 (04-23-2011, 18:53)zxz0O0 Wrote: Precache the icon.uhmmmm how? (and the sounds btw?) RE: icon+sound doesnt work? - Yamato - 04-23-2011 (04-23-2011, 18:56)eliteCVDelite Wrote:(04-23-2011, 18:53)zxz0O0 Wrote: Precache the icon.uhmmmm how? In Init() in _rank.gsc, put PrecacheShader("iconname"); RE: icon+sound doesnt work? - Xzite - 04-24-2011 and how do I let the sound work(lolz) because this dont works, only the level up(i tested a few) |