Raised This Month: $ Target: $400
 0% 

[Solved] How to see playernames with semiclip


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Pinatz
Member
Join Date: Dec 2008
Old 12-31-2010 , 07:45   [Solved] How to see playernames with semiclip
Reply With Quote #1

Is there a way to see the playernames aiming at while having the semiclipscript beneath activated? All other methods of semiclipping will not function well on higher speed.
PHP Code:
if(!is_user_alive(id))
            return 
PLUGIN_CONTINUE
new iEnts[1], bool:bEntFlagFloat:flRadius 200.0            
find_sphere_class
(id,"trigger_teleport",flRadius,iEnts,1)
if(
iEnts[0])
  
bEntFlag true
        
if(bEntFlag)
  
entity_set_int(id,EV_INT_solid,3)
else
  
entity_set_int(id,EV_INT_solid,0)
return 
PLUGIN_CONTINUE 
__________________

Last edited by Pinatz; 01-16-2011 at 12:23.
Pinatz is offline
gladius
Veteran Member
Join Date: Jul 2008
Location: Santiago, Chile
Old 12-31-2010 , 10:58   Re: How to see playernames with semiclip
Reply With Quote #2

http://forums.alliedmods.net/showpos...2&postcount=70
__________________
Proyects
Kreedz Chile Mod [100%] (Fixing some details).

gladius is offline
Send a message via MSN to gladius Send a message via Skype™ to gladius
Pinatz
Member
Join Date: Dec 2008
Old 01-02-2011 , 18:04   Re: How to see playernames with semiclip
Reply With Quote #3

Code:
if (flDistance < 512.0)
At speeds of 2000 Units/s with pings about 50-70 on both sides it won't work I think.
And if one player only has 60 fps or so will it work? As prethink and posthink only are called each frame i read here in the forum.
__________________
Pinatz is offline
caffeine
Member
Join Date: Apr 2008
Old 01-16-2011 , 08:13   Re: How to see playernames with semiclip
Reply With Quote #4

display name for New Semiclip Method: http://forums.alliedmods.net/showthread.php?t=69728

use aimorigin & origin, display the nearest name:
Attached Files
File Type: sma Get Plugin or Get Source (displayname.sma - 614 views - 2.5 KB)

Last edited by caffeine; 01-17-2011 at 03:40. Reason: 1.0.1
caffeine is offline
Pinatz
Member
Join Date: Dec 2008
Old 01-16-2011 , 12:23   Re: How to see playernames with semiclip
Reply With Quote #5

Thanks caffeine it works good
Btw. There are only 4 layers for hud messages. Is there no way to extend this number?
__________________
Pinatz is offline
caffeine
Member
Join Date: Apr 2008
Old 01-16-2011 , 12:36   Re: [Solved] How to see playernames with semiclip
Reply With Quote #6

channel = abs(g_hudset.channel % 5);

...
5%5=0
6%5=1
7%5=2
8%5=3
9%5=4
10%5=0
...
caffeine is offline
Pinatz
Member
Join Date: Dec 2008
Old 01-16-2011 , 12:46   Re: [Solved] How to see playernames with semiclip
Reply With Quote #7

Hm okay so there are 5 Layers. Sometimes I have trouble when some other plugins are running and they use the same channel.

Thanks for you help
__________________
Pinatz 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 02:11.


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