Raised This Month: $51 Target: $400
 12% 

How to get location of a player


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
blade81
Senior Member
Join Date: Apr 2005
Old 09-23-2007 , 10:02   How to get location of a player
Reply With Quote #1

Is it possible to get the players current location on the map, as is the case in radio msgs? Thx in advance.
blade81 is offline
Nican
Veteran Member
Join Date: Jan 2006
Location: NY
Old 09-23-2007 , 10:29   Re: How to get location of a player
Reply With Quote #2

you mean the origin?

GetClientAbsOrigin(client, Float:vec[3]);
__________________
http://www.nican132.com
I require reputation!
Nican is offline
Send a message via ICQ to Nican Send a message via MSN to Nican
blade81
Senior Member
Join Date: Apr 2005
Old 09-23-2007 , 12:25   Re: How to get location of a player
Reply With Quote #3

No, i mean if someone sends radio msgs, you can see where his current location is "market" for example.
blade81 is offline
blade81
Senior Member
Join Date: Apr 2005
Old 09-23-2007 , 12:26   Re: How to get location of a player
Reply With Quote #4

Quote:
Originally Posted by blade81 View Post
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.
blade81 is offline
Nican
Veteran Member
Join Date: Jan 2006
Location: NY
Old 09-23-2007 , 12:53   Re: How to get location of a player
Reply With Quote #5

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-S...s#player_radio

Edit: I still did not answer your question, hold on, let me do some more recharge
__________________
http://www.nican132.com
I require reputation!

Last edited by Nican; 09-23-2007 at 12:57.
Nican is offline
Send a message via ICQ to Nican Send a message via MSN to Nican
FlyingMongoose
Veteran Member
Join Date: Mar 2004
Old 09-25-2007 , 06:48   Re: How to get location of a player
Reply With Quote #6

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.
__________________
Please do NOT PM for support.

Only ask for support in plugin threads.

TunedChaos.com - Precision Tuned Game Servers
FlyingMongoose is offline
Knagg0
SourceMod Donor
Join Date: Dec 2005
Location: Germany
Old 09-25-2007 , 08:42   Re: How to get location of a player
Reply With Quote #7

The easiest way to get the location is
CBasePlayer::m_szLastPlaceName (FindSendPropOffs)
But all spaces are removed in that var...
__________________

MFZB Gaming Community

[ www.mfzb.de ]

Knagg0 is offline
blade81
Senior Member
Join Date: Apr 2005
Old 09-26-2007 , 12:55   Re: How to get location of a player
Reply With Quote #8

I'll give it a try thx!
blade81 is offline
blade81
Senior Member
Join Date: Apr 2005
Old 09-26-2007 , 18:13   Re: How to get location of a player
Reply With Quote #9

It works thx! I use it with saytext2
blade81 is offline
diviqt
Senior Member
Join Date: Jul 2007
Location: Bulgaria
Old 05-24-2008 , 12:51   Re: How to get location of a player
Reply With Quote #10

you maked location on radio msg plugin ??
diviqt is offline
Send a message via ICQ to diviqt Send a message via Skype™ to diviqt
Reply



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 03:02.


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