Raised This Month: $ Target: $400
 0% 

[REQ] Traceline/Entitypicker


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kill0r
Junior Member
Join Date: Jun 2007
Old 06-11-2007 , 18:18   [REQ] Traceline/Entitypicker
Reply With Quote #1

Hey guys, I would like to request an implementation of TraceLines-function/Entitypicker, it's very usefull to know what a client is looking at, e.g. for something like sm_kick #picker, if you aiming on a player you could kick him quickly, without searching for his id in status or his name in kick-menu (of course there should be a menu popup that's asking if you selected the right one for commands like kick #picker and ban #picker).

see: http://developer.valvesoftware.com/w...eLines#Example

however, I suggest something like this:
/**
* ...
* @param client - Player index
* @return Handle (or Entityindex?)
*/
native Handle:GetEntityByPicker(client);

The entity could be a player, npc, "normal entity", etc.

If you don't want to implement this, maybe someone could give me a pawn funktion/stock for this? Could be using pimpinjuice's signatur scan ext.

Last edited by kill0r; 06-11-2007 at 18:21.
kill0r is offline
Knagg0
SourceMod Donor
Join Date: Dec 2005
Location: Germany
Old 06-11-2007 , 18:25   Re: [REQ] Traceline/Entitypicker
Reply With Quote #2

The TempEnts Extension has a traceline function
__________________

MFZB Gaming Community

[ www.mfzb.de ]

Knagg0 is offline
kill0r
Junior Member
Join Date: Jun 2007
Old 06-12-2007 , 02:14   Re: [REQ] Traceline/Entitypicker
Reply With Quote #3

Where? I only find TETraceline(...) which will return the coordinates but not the entity you are looking at :-/
kill0r is offline
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 07:03.


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