Raised This Month: $32 Target: $400
 8% 

Solved out of bounds


Post New Thread Reply   
 
Thread Tools Display Modes
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-22-2020 , 23:32   Re: out of bounds
Reply With Quote #11

Ok, I will agree with you there.

So suppose round start happens, and at that time there is no player on slot 5, but there was a few seconds ago. In this case, get_players() would fail to clear this slot, while arrayset() would clear all.
__________________

Last edited by Bugsy; 04-22-2020 at 23:33.
Bugsy is offline
Nutu_
AlliedModders Donor
Join Date: Mar 2016
Location: Germany
Old 04-24-2020 , 05:07   Re: out of bounds
Reply With Quote #12

found a bug while using OciXCrom method, when i make myself survivor, i cant fire with minigun, if i make someone else, he can, i'll try fysiks's and come with a feedback
__________________
a simple act of caring creates an endless ripple.
Nutu_ is offline
Nutu_
AlliedModders Donor
Join Date: Mar 2016
Location: Germany
Old 04-24-2020 , 05:40   Re: out of bounds
Reply With Quote #13

seems to work now, havent got any bug in error logs and also everyone can fire
__________________
a simple act of caring creates an endless ripple.
Nutu_ is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-24-2020 , 20:56   Re: out of bounds
Reply With Quote #14

Like I said before, it entirely depends on how you're using these things and since you didn't provide any context, we can't give you the best answer for your situation.
__________________
fysiks 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 19:33.


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