Forum

> > CS2D > Scripts > Image in top and center of screen
Forums overviewCS2D overview Scripts overviewLog in to reply

English Image in top and center of screen

2 replies
To the start Previous 1 Next To the start

old Re: Image in top and center of screen

GeoB99
Moderator Off Offline

Quote
1
image("gfx/testing/123.bmp", 320 , 240, 2)
But first of, for what exactly do you need? What's your purpose at showing in top of the screen an image? Furthermore, you could read the cs2d lua cmd image function reference because it's pretty easy to do so that you've mentioned.

Note: That line of code only adds in the center of your monitor screen an image. For the top, just add another image function and change these two variable values (the last defines how we want a specific image supposed to be so in this case 2 - as HUD so don't touch it).
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview