Forum

> > CS2D > Scripts > how to find crusor's tilex and tiley?
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch how to find crusor's tilex and tiley?

2 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Re: how to find crusor's tilex and tiley?

Flacko
User Off Offline

Zitieren
If you have stored the absolute cursor position in, for example, playermousex and playermousey:

1
2
local tx = math.floor(playermousex/32)
local ty = math.floor(playermousey/32)
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht