Raised This Month: $ Target: $400
 0% 

First time landing (pev_flags) bug


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 07-31-2018 , 05:52   Re: First time landing (pev_flags) bug
Reply With Quote #3

Quote:
Originally Posted by Bugsy View Post
When are you setting g_bLandedPlayer[ id ] to false when the player is not FL_ONGROUND or FL_INWATER? You need to show more code.
That's the only part where g_bLandedPlayer is used. I set g_bLandedPlayer to false in NewRound now, I'll see if that fixed it. Also I think the 2nd statement should be 'else if' instead of 'if'
BTW: Here's an explanation of what I'm trying to accomplish:

Player spawns in max height, he jumps from a plane then he must have a parachute to fall slowly, once he lands, we need to get rid of the parachute.
__________________

Last edited by edon1337; 07-31-2018 at 05:57.
edon1337 is offline
 



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:28.


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