How can make a include file with this native
Sorry guys i am beginner ... Can put here a little example how can make to work?
I have this native Code:
public plugin_natives() Code:
#if defined _knife_duels_included Code:
#include <knife_duels> |
Re: How can make a include file with this native
This should be inside the include
PHP Code:
PHP Code:
Are constants 1st equal to 0 and 2th equal to 1 |
Re: How can make a include file with this native
thanks !
But this native where can put becouse i have 2 plugins ? or not need them anymore? Or en the plugin base? public plugin_natives() { register_library("knife_duels") register_native("is_user_in_duel","_is_user_i n_duel") } |
Re: How can make a include file with this native
if you are using two plugins only (one is reading (using native) from another) then i dont see a advantage of using .include file...about your last post..put that plugin_natives in 'main' plugin and in second plugin use
Code:
native is_user_in_duel( id ) or i missunderstood what you need |
Re: How can make a include file with this native
ok thanks
|
All times are GMT -4. The time now is 01:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.