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

Solved [H3LP] Get GUn position


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DarthMan
Veteran Member
Join Date: Aug 2011
Old 12-14-2017 , 14:09   [H3LP] Get GUn position
Reply With Quote #1

Hello. Can anyone help me? I want to correctly get the gun position to be able to spawn an entity. I know that when using the beamsprite I can just use 0x1000, but that doesn't apply when spawning entities. Thanks !

Last edited by DarthMan; 12-14-2017 at 16:01. Reason: Solved
DarthMan is offline
killerZM
Senior Member
Join Date: Sep 2016
Old 12-14-2017 , 14:43   Re: [H3LP] Get GUn position
Reply With Quote #2

what do you mean by gun position ?
killerZM is offline
DarthMan
Veteran Member
Join Date: Aug 2011
Old 12-14-2017 , 15:01   Re: [H3LP] Get GUn position
Reply With Quote #3

Quote:
Originally Posted by killerZM View Post
what do you mean by gun position ?
Like when u shoot, to shut from the position of the gun, but instead sue an entity.

Last edited by DarthMan; 12-14-2017 at 15:01.
DarthMan is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 12-14-2017 , 15:36   Re: [H3LP] Get GUn position
Reply With Quote #4

Do you want the tip of the gun barrel or just the position where you shoot bullets from? Because in CS you actually shoot from your eyes, not your gun.
klippy is offline
DarthMan
Veteran Member
Join Date: Aug 2011
Old 12-14-2017 , 15:41   Re: [H3LP] Get GUn position
Reply With Quote #5

Quote:
Originally Posted by KliPPy View Post
Do you want the tip of the gun barrel or just the position where you shoot bullets from? Because in CS you actually shoot from your eyes, not your gun.
I want it just like here : https://forums.alliedmods.net/attach...1&d=1250679925 , but instead of being used for TE_BEAMSPRITE, it must be used for a true entity.

Last edited by DarthMan; 12-14-2017 at 15:46.
DarthMan is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 12-14-2017 , 16:44   Re: [H3LP] Get GUn position
Reply With Quote #6

Use this to create beams as entities.
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
DarthMan
Veteran Member
Join Date: Aug 2011
Old 12-14-2017 , 17:18   Re: [H3LP] Get GUn position
Reply With Quote #7

Quote:
Originally Posted by NiHiLaNTh View Post
Use this to create beams as entities.
I sovled it already, it wasn't for beams.
DarthMan 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 20:24.


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