Raised This Month: $ Target: $400
 0% 

Solved Console Keeps Saying Index Out of Bounds


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
asdian
Member
Join Date: Sep 2016
Location: Indonesia
Old 08-14-2022 , 10:41   Re: Console Keeps Saying Index Out of Bounds
Reply With Quote #1

Quote:
Originally Posted by Natsheh View Post
That is not a solution, Ham Item Deploy is never called without a valid player owner..


Post the full code.
i already attached the .sma

it's 1700+ line long, so i think it's not good to copy-paste all of them here

Quote:
Also try not hard code your script, for example try to give 43 offset it's proper name.
got it

Last edited by asdian; 08-14-2022 at 10:53. Reason: to make it clearer
asdian is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 08-14-2022 , 10:51   Re: Console Keeps Saying Index Out of Bounds
Reply With Quote #2

Quote:
Originally Posted by asdian View Post
i already attached the .sma

it's 1700+ line long, so i think it's not good to copy-paste all of them here
Make sure you don't have another plugin modifying the weapons owner.

Also try debugging the owner output. ( it's value )
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 08-14-2022 at 10:52.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
asdian
Member
Join Date: Sep 2016
Location: Indonesia
Old 08-14-2022 , 11:15   Re: Console Keeps Saying Index Out of Bounds
Reply With Quote #3

Quote:
Originally Posted by Natsheh View Post
Make sure you don't have another plugin modifying the weapons owner.
i dont have any other weapon plugins installed

Quote:
Originally Posted by Natsheh View Post
Also try debugging the owner output. ( it's value )
where to put ?
asdian is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-14-2022 , 15:34   Re: Console Keeps Saying Index Out of Bounds
Reply With Quote #4

Quote:
Originally Posted by asdian View Post
where to put ?
By debugging he means to output the value to either the server console (if you have access to the server console) or to a log file (via log_amx) if you don't. You do this where ever you need to know the value of a variable.
__________________

Last edited by fysiks; 08-14-2022 at 15:35.
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 15:39.


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