Raised This Month: $ Target: $400
 0% 

Bullet


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 08-27-2010 , 16:06   Bullet
Reply With Quote #1

Alright, I seen some sort of tutorial around here that described how to to check if a player was shot through a wall, glass or such. Since I cannot find it, I'm almost sure one of you know how to detect this. Point me in that direction please.
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 08-27-2010 , 16:34   Re: Bullet
Reply With Quote #2

Register takedamage and then get user aiming of the attacker and check if it's a player. Otherwise it's a wall.

Maybe?
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
Kreation
Veteran Member
Join Date: Jan 2010
Location: Illinois
Old 08-27-2010 , 16:52   Re: Bullet
Reply With Quote #3

I got this.
__________________
Hi.
Kreation is offline
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 08-27-2010 , 16:54   Re: Bullet
Reply With Quote #4

TraceLine?
Styles is offline
Send a message via AIM to Styles
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 08-27-2010 , 19:53   Re: Bullet
Reply With Quote #5

Quote:
Originally Posted by Styles View Post
TraceLine?
Yes.

As for Nik, that wouldn't work. I want to know if it's passing through the wall, and hitting a player.
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX 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 08:38.


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