Raised This Month: $ Target: $400
 0% 

native error (native "callfunc_begin_i")


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 07-11-2013 , 13:10   native error (native "callfunc_begin_i")
Reply With Quote #1

How to fix this error?

Quote:
L 07/11/2013 - 19:58:29: Public function -1 is invalid
L 07/11/2013 - 19:58:29: [AMXX] Displaying debug trace (plugin "Shop.amxx")
L 07/11/2013 - 19:58:29: [AMXX] Run time error 10: native error (native "callfunc_begin_i")
L 07/11/2013 - 19:58:29: [AMXX] [0] Shop.sma::Items_Menu (line 128 )

Last edited by ~Ice*shOt; 07-11-2013 at 13:11.
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
At3u
Member
Join Date: Feb 2013
Location: On the Moon
Old 07-11-2013 , 13:40   Re: native error (native "callfunc_begin_i")
Reply With Quote #2

new func = get_func_id("Enable_Item", plugin_id)
At3u is offline
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 07-11-2013 , 13:46   Re: native error (native "callfunc_begin_i")
Reply With Quote #3

PHP Code:
    new Handler[32]
    
get_string(3Handlercharsmax(Handler))
    
eItemData[ItemFuncID] = get_func_id(HandlerPlugin
Have this, I made it by Exolent's tutorial
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 07-11-2013 , 14:26   Re: native error (native "callfunc_begin_i")
Reply With Quote #4

I would venture to say that the function doesn't exist
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 07-11-2013 , 14:52   Re: native error (native "callfunc_begin_i")
Reply With Quote #5

In that my 'sub-plugin':

PHP Code:
Register_Item("Medkit"2000"Medkit_Bought")

public 
Medkit_Bought(id)
{
    
give_item(iditem_medkit)
    
HasMedkit[id] = true

    message_begin
(MSG_ONEMsgStatusIcon, {000}, id)
    
write_byte(1)
    
write_string("plus")
    
write_byte(222)
    
write_byte(255)
    
write_byte(0)
    
message_end()

~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 07-11-2013 , 14:58   Re: native error (native "callfunc_begin_i")
Reply With Quote #6

Without more of the code, we can't help you
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 07-12-2013 , 02:40   Re: native error (native "callfunc_begin_i")
Reply With Quote #7

So say, what I need to post? There are two plugins and include
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 07-12-2013 , 14:53   Re: native error (native "callfunc_begin_i")
Reply With Quote #8

Enough to be able to help you figure it out.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou 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 06:21.


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