Forum

> > CS2D > Scripts > Privite Hud Image
Forums overviewCS2D overview Scripts overviewLog in to reply

English Privite Hud Image

5 replies
To the start Previous 1 Next To the start

old Privite Hud Image

X-Files
User Off Offline

Quote
i want make privete hud image
and its need to remove when press f3 from screen for just player who pressed f3

i tried to do but failed somehow
edited 2×, last 04.09.14 10:07:04 pm

old Re: Privite Hud Image

Alpha Beta
User Off Offline

Quote
Well, line 31 should be
Quote
abcm[id] = image('gfx/minecraft2/lua/hudtiles.png', 75, 250, 2, id)


But otherwise, what's wrong? It works here.
I tested it with gfx/block.bmp.
When I press [F4] the image shows up, and when I press [E] I hide the image (or make it visible again).

Isn't that what you intended? I even tested it with multiple CS2D windows.

old Re: Privite Hud Image

X-Files
User Off Offline

Quote
@user Alpha Beta: wait, my mistake i said "e" it shoudl be "f3" button
im edited first post now
and im removing code to be sure noone goes complex

problem is its working with "e" but doesnt work with serveraction hook i dont know why

old Re: Privite Hud Image

Alpha Beta
User Off Offline

Quote
This?
Spoiler >
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview