CS2D
Scripts How to remove hud image? How to remove hud image?
3 replies hello guys, i want to ask about some thing
how 2 remove hud img ?
example:
HUDImage = image('gfx/! !!gfx/2.png',20,175,3)
i tried to replace it with another image but didn't work :S http://cs2d.com/help.php - from here you can find all commands, hooks and functions about CS2D. And what you're trying to find is freeimage. Just do something like freeimage(HUDImage)
and boom you removed it. Then you can create an another image which would use this name once again. @ Masea:
Tanks and helicopter You should also clear the variable where you stored your image. As the documentation says, freeimage removes only image from memory, but the ID will be still stored in your variable.
Good luck with your script.