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

How do i place an entity where the player is looking???


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Grovliom
Member
Join Date: Mar 2020
Location: somewhere in Serbia
Old 04-12-2020 , 15:59   How do i place an entity where the player is looking???
Reply With Quote #1

Hi! i just wanted to know how do you place an entity wherever the player is looking... or anything where the player is looking...

Last edited by Grovliom; 04-12-2020 at 20:10.
Grovliom is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 04-13-2020 , 12:25   Re: How do i place an entity where the player is looking???
Reply With Quote #2

The easiest way to get the aim origin is get_user_origin with mode = 3. If you want more info, go to amxmodx.org/api and search for get_user_origin.
__________________

Last edited by HamletEagle; 04-13-2020 at 12:27.
HamletEagle is offline
Grovliom
Member
Join Date: Mar 2020
Location: somewhere in Serbia
Old 04-13-2020 , 12:36   Re: How do i place an entity where the player is looking???
Reply With Quote #3

Quote:
Originally Posted by HamletEagle View Post
The easiest way to get the aim origin is get_user_origin with mode = 3. If you want more info, go to amxmodx.org/api and search for get_user_origin.
Thanks! i'll try.
Grovliom 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 23:38.


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