Forum

> > CS2D > Maps/Editor > i cant teleport myself in my server via setpos
ForenübersichtCS2D-Übersicht Maps/Editor-ÜbersichtEinloggen, um zu antworten

Englisch i cant teleport myself in my server via setpos

3 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt i cant teleport myself in my server via setpos

Persian_Arty
User Off Offline

Zitieren
it teleports me to first 5 x and x in my map , what could be the reason ?
ive a problem in my server , i type the right position to be teleported as a server but it moves me in only 5 first Tile of my map , not beyond, what can be the problem ?
doesnt maatter what i type x and y i will be only moved in first 5 Tiles
ive found out ( setpos 1 196 168 ) will move me to the Pixel and not the Tile position
Pixel position:
lua print(player(1,'x'),player(1,'y'))

Tile position:
lua print(player(1,'tilex'),player(1,'tiley'))
1× editiert, zuletzt 09.06.21 21:34:13

alt Re: i cant teleport myself in my server via setpos

Mami Tomoe
User Off Offline

Zitieren
First, you don't need 3 threads for 1 question.

Second, you're probably using the wrong tile coordinates.

There are tile pixel positions (most accurate, used for cs2d cmd setpos) and there are tile positions (less accurate, used for other various things).

Make sure that the position you're using is of the pixel format, and that you're getting it from the right source!
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Maps/Editor-ÜbersichtCS2D-ÜbersichtForenübersicht