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

[CS:GO] Drop Weapon w/ velocity


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
switz213
Junior Member
Join Date: Jun 2015
Old 10-25-2015 , 16:25   [CS:GO] Drop Weapon w/ velocity
Reply With Quote #1

Even with the third argument being true, CS_DropWeapon seems to drop the weapon underneath the player from the center of the body.

Any ideas why? This is a bot during freeze time if that changes anything.

I tried making the viewmodel look up 30 degrees (-30.00), but that didn't help.

https://sm.alliedmods.net/new-api/cstrike/CS_DropWeapon

Last edited by switz213; 10-25-2015 at 16:25.
switz213 is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 10-25-2015 , 16:53   Re: [CS:GO] Drop Weapon w/ velocity
Reply With Quote #2

You could give it a whirl with SDKHooks_DropWeapon.
Really not sure why CS_DropWeapon isn't doing the job, I'll test it out later and see if it does the same to me.
Maxximou5 is offline
switz213
Junior Member
Join Date: Jun 2015
Old 10-26-2015 , 03:24   Re: [CS:GO] Drop Weapon w/ velocity
Reply With Quote #3

Do you have any sample values for the velocity target and velocity vector? I'd like it to throw the gun in front of the player's current position ~500 units at relatively quick speed.

Last edited by switz213; 10-26-2015 at 03:24.
switz213 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 10:07.


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