View Single Post
deprale
Senior Member
Join Date: Oct 2018
Location: Leeds
Old 12-04-2022 , 05:56   Re: Get map size (width and length) and player positions
Reply With Quote #10

This is a little bit unethical but give netshark cs 1.6 cheat a try, they have overviews of the map with player locations pretty accurate, maybe you can figure out how to do it too.

My guess is that you can just set the origin of the map to be 0.0.0 aka center of an image, and set the boundaries to be the corners of the map(you can get the origins by manually going in the corners of the maps you want), and then u just draw the playerdot at closest_corner - player_location, sounds easy enough (it always does but then u get to do it...)

Also check this out too: https://forums.alliedmods.net/showpo...8&postcount=20

note that this will probably get ALL the corners even if unreachable by player.
__________________

Last edited by deprale; 12-04-2022 at 06:01.
deprale is offline