Raised This Month: $ Target: $400
 0% 

Get map size (width and length) and player positions


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode