Raised This Month: $ Target: $400
 0% 

Unstuck help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 11-02-2020 , 08:44   Re: Unstuck help
Reply With Quote #2

I'm not very experienced with this kind of stuff, but what if you just place that check inside this check
PHP Code:
if(g_isalive[id] && is_player_stuck(id) && get_pcvar_num(cvar_autounstuck)) 
and check if it's NOT pressed instead of it is pressed. That way you don't even need to use the return.

i think it should look something like this, i might be wrong though.
PHP Code:
if(g_isalive[id] && is_player_stuck(id) && get_pcvar_num(cvar_autounstuck) && (button &~ IN_USE)) 
or this

PHP Code:
if(g_isalive[id] && is_player_stuck(id) && get_pcvar_num(cvar_autounstuck) && !(button IN_USE)) 
__________________

Last edited by Napoleon_be; 11-02-2020 at 08:49.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
 



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 14:09.


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