UGX-Mods

Call of Duty: Black Ops 3 => Help Desk => Modding => Topic started by: Dakado on November 05, 2017, 05:15:52 pm

Title: HUD - unknown function
Post by: Dakado on November 05, 2017, 05:15:52 pm
Hi, why the CoD 4 server tells me that HUD destroyelem(); is unknown function when I have seen ppl normally use this functions in their scripts ?


I have seen this docs: http://wiki.modsrepository.com/index.php?title=Call_of_Duty_4:_Scripting_Reference_-_Hud (http://wiki.modsrepository.com/index.php?title=Call_of_Duty_4:_Scripting_Reference_-_Hud)

There is not any function like that, so how can one use it ?


Thanks.
Title: Re: HUD - unknown function
Post by: Archaicvirus on December 09, 2017, 09:11:50 pm
This is the Black ops 3 forum if you didn't notice.

The link you provided shows the function as Destroy() not "destroyelem" and also gives you an example
Code Snippet
Plaintext
self.bombstopwatch Destroy();
. Have you included the hud script in your map file?