Raised This Month: $ Target: $400
 0% 

weapon aim begin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
man_s_our
Senior Member
Join Date: Jul 2017
Location: aim_taliban
Old 04-02-2018 , 08:49   weapon aim begin
Reply With Quote #1

get_user_origin(id, origin, 3) give us aim end but what about aim begin?
man_s_our is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 04-02-2018 , 09:27   Re: weapon aim begin
Reply With Quote #2

User origin + viewofs
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
man_s_our
Senior Member
Join Date: Jul 2017
Location: aim_taliban
Old 04-02-2018 , 10:30   Re: weapon aim begin
Reply With Quote #3

how to get the viewofs?
man_s_our is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 04-02-2018 , 10:53   Re: weapon aim begin
Reply With Quote #4

Fakemeta
PHP Code:
new Float:fViewOfs[3], fOrigin[3];
pev(idpev_view_ofsfViewOfs)
pev(idfOriginfOrigin)

fOrigin[0] += fViewOfs[0];
fOrigin[1] += fViewOfs[1];
fOrigin[2] += fViewOfs[2];

//fOrigin is now the begining of the aim. 
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 04-02-2018 at 10:55.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
man_s_our
Senior Member
Join Date: Jul 2017
Location: aim_taliban
Old 04-02-2018 , 11:05   Re: weapon aim begin
Reply With Quote #5

after searching for viewofs, I found this
Quote:
Originally Posted by Arkshine View Post
Try using "engfunc( EngFunc_GetAttachment, Player, 0 , Origin, VAngle );" in the code so. But the problem using this message is you have to find the right direction, otherwise it doesn't match well.
man_s_our 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 09:14.


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