Forum

> > CS2D > Scripts > New client screen resolution after change
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch New client screen resolution after change

Keine Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt New client screen resolution after change

AtomKuh
User Off Offline

Zitieren
I would like to get the new screen resolution by a player who just changed them in their settings.

The addhook cs2d lua hook clientsetting only returns the old resolution. This means it always returns the resolution that the player joined the server with.

I face the identical problem with the following commands:
local new_screen_width = player(id,"screenw")
local new_screen_height = player(id,"screenh")

This way I also get always the old resolution...

It seems to be a bug... Is there any other way to get the new screen resolution?

> EDIT: It works on a dedicated server... √
4× editiert, zuletzt 16.03.23 13:15:03
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht