Raised This Month: $ Target: $400
 0% 

crash after callfunc_end


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 06-29-2023 , 04:56   crash after callfunc_end
Reply With Quote #1

I am trying call the register_item function from Plugin A in Plugin B
  • The server just crash without any log or error dialog after callfunc_end(),
  • It did print out "Test" on server console before crashing => So it did reach the function but crash upon calling callfunc_end()
  • It need it to be in plugin_natives because I want to register it before plugin_precache, preventing the plugin from precaching resources of that plugin

PHP Code:
public register_item(const Name[])
{
    
server_print(Name);

PHP Code:
public plugin_natives()
{
    
callfunc_begin("register_item""PluginB.amxx")
    
callfunc_push_str("Test")
    
callfunc_end()

edit: This is the exception shown in mini-dump after the server crash
__________________
My plugin:

Last edited by Celena Luna; 06-29-2023 at 06:08.
Celena Luna is offline
 


Thread Tools
Display Modes

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 07:45.


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