Raised This Month: $ Target: $400
 0% 

Call public function by string


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-30-2013 , 01:26   Re: Call public function by string
Reply With Quote #5

Cache the function index and use callfunc_begin_i, it should slightly faster.

I'm using this native which allow to add any function that doesn't take parameters from a plugin :

PHP Code:
native kz_add_menuitem(itemName[64], const szCmdCallBack[], reshow 0); 



And menu is here :
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
 



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 10:14.


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