and here is my question, is this a bug from cs2d? Can anyone check that out with fullscreen and normal screen (850x480)
ps: Mode 1 (checking mouse position of the screen) works fine, but mode 2 is maybe bugged
Scripts
Clientdata
Clientdata
1

mp_hudscale (any mode > 0)?
reqcld is designed to work with mp_hudescale, mode 2 however is NOT designed to work with mp_hudscale.
mp_hudscale > 0 AND are drawing HUD elements at the position you get from
clientdata mode 2 you will have to do manual script adjustments.
clientdata mode 2 to do things on the map directly, it will work fine without further adjustments. No matter which
mp_hudscale you use.
reqcld to handle this case.
player) or you can combine
reqcld 0 and 1 to get the cursor position + the map scrolling offset (it's a bit complicated because you have to cache values since it's asynchronous stuff.
Mora: *sigh*
working: when you use the coordinates to do stuff on the map. like clicking tiles or other objects on the map
not working: when you use the coordinates to render HUD text / images.

if mode == 2 then 		x = math.floor(x-((player(id, "screenw")-850)/2) 		y = math.floor(y-((player(id, "screenh")-480)/2) 		blocksize = ((((player(id, "screenw")/850)*32)+((player(id, "screenh")/480)*32))/2)
1
