Raised This Month: $ Target: $400
 0% 

[Help] This code runtime errors


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-22-2015 , 16:53   Re: [Help] This code runtime errors
Reply With Quote #1

What are the values of the Index and Item being passed to the function? Once you find out which one is causing the error, you need to trace that value back to see where it is getting set and why it's getting set to a non-valid value.

Also, according to amxmodx.inc, you should be using get_func_id() for getting the IDs to be using with callfunc_begin_i(). This is probably unrelated but it's better to use functions how they were intended.
__________________

Last edited by fysiks; 11-22-2015 at 17:22.
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 18:12.


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