Raised This Month: $ Target: $400
 0% 

fake_touch doesn't work for a weaponbox in the air


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-08-2018 , 06:48   Re: fake_touch doesn't work for a weaponbox in the air
Reply With Quote #1

https://github.com/s1lentq/ReGameDLL...pons.cpp#L1603

PHP Code:
if (!(pev->flags FL_ONGROUND))
    {
        return;
    } 
That's why it doesn't work. The weaponbox must be on ground for the touch to work. This is done most likely to avoid the initial touch when the weapon is dropped. Without that check you would pick back the weapon instantly.
__________________

Last edited by HamletEagle; 07-08-2018 at 06:59.
HamletEagle 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 12:43.


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