Raised This Month: $ Target: $400
 0% 

[HELP] How to call a function from another plugin.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Starman
Junior Member
Join Date: Dec 2013
Old 06-08-2014 , 22:09   Re: [HELP] How to call a function from another plugin.
Reply With Quote #4

Quote:
Originally Posted by Black Rose View Post
That code should work as far as I can see.
You could also look in to Create*Forward() functions.

Here's my test:
Code:
    if ( callfunc_begin("testfunc321", "test8.amxx") )        &nb sp;callfunc_end();


Code:
public testfunc321()     server_print("Hello world!");


Code:
Hello world!
Well, the truth is that at first I also thought that the first officer as I take the time to look like this native is used, and the methods in which they could use, and believes that code as proof. However, I have several, theories that does not work.

You need to place the exact location of the plugin?

Quote:
Originally Posted by fysiks View Post
Based on the simply example, you should use dynamic natives.
I'll take that into account, I'll take note of it ..

Last edited by Starman; 06-08-2014 at 22:10.
Starman 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 09:40.


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