View Full Version : How to get location of a player
Is it possible to get the players current location on the map, as is the case in radio msgs? Thx in advance.
you mean the origin?
GetClientAbsOrigin(client, Float:vec[3]); (http://sm.nican132.com/index.php?fastload=show&id=386&)
No, i mean if someone sends radio msgs, you can see where his current location is "market" for example.
No, i mean if someone sends radio msgs, you can see where his current location is "market" for example.
ps: your wiki site is great! it helped me a lot.
There is a event called "player_radio" on CS:S, try hooking it, if you need help with that, tell me
http://wiki.alliedmods.net/Counter-Strike:_Source_Events#player_radio
Edit: I still did not answer your question, hold on, let me do some more recharge
FlyingMongoose
09-25-2007, 06:48
if you can get a hold of L. Duke he's the only one I know of who's actually done work with doing stuff to the radar.
The easiest way to get the location is
CBasePlayer::m_szLastPlaceName (FindSendPropOffs)
But all spaces are removed in that var...
It works thx! I use it with saytext2
you maked location on radio msg plugin ??
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.