ItsMods

Full Version: Dvar ingame
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(03-09-2011, 17:12)nick Wrote: [ -> ]
(03-09-2011, 16:53)Pozzuh Wrote: [ -> ]
(03-09-2011, 16:45)d0h! Wrote: [ -> ]seriously...we have a tutorial section, look into it

example:
http://www.itsmods.com/forum/Thread-Crea...asics.html
http://www.itsmods.com/forum/Thread-How-...r-mod.html

and even more tuts

I think he knows how to make hud elements but he wants it to be controlled with a dvar. And the tutorials don't mention any of that.

edit: oh he commented before me. Nick check out my prev. post.

Yeah I've just tried it, but I still cant the dvar to appear ingame

http://wiki.modsrepository.com/index.php...stom_Dvars
try this, not sure if it'll work
Creating the dvar works, I can set the text of a hud elem fine. I just cant access that dvar to change its value
(03-09-2011, 17:25)nick Wrote: [ -> ]Creating the dvar works, I can set the text of a hud elem fine. I just cant access that dvar to change its value

Then i dont think its possible .. for now
(03-09-2011, 17:25)nick Wrote: [ -> ]Creating the dvar works, I can set the text of a hud elem fine. I just cant access that dvar to change its value

Are you sure you put setdvar("scr_dvarhud","Default"); somewhere in init()

If you are sure you did that I think you can't do it. In other cods it works.
Pages: 1 2