Raised This Month: $51 Target: $400
 12% 

callfunc_begin works with paused plugins


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 05-16-2017 , 15:54   callfunc_begin works with paused plugins
Reply With Quote #1

Is it ok? Yeah, callfunc_begin_i can't work with paused, but callfunc_begin can.
Code:
#include <amxmodx> public plugin_cfg() {     callfunc_begin("Some", /* Second plugin filename */);     callfunc_end(); }
Code:
#include <amxmodx> public plugin_init() {     pause("a"); } public Some() {     server_print("Some called"); }
__________________
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 05-16-2017 , 17:13   Re: callfunc_begin works with paused plugins
Reply With Quote #2

Looks like callfunc_begin() only finds the function and never calls CPluginMngr::CPlugin::isExecutable() to check if the plugin is executable. Should be an easy fix.

https://github.com/alliedmodders/amx...pp#L3452-L3491
klippy 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 03:49.


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