Raised This Month: $32 Target: $400
 8% 

Plugin interface


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
blade81
Senior Member
Join Date: Apr 2005
Old 04-23-2008 , 01:52   Plugin interface
Reply With Quote #1

Hi, i was wondering if there is a way to call functions in other plugins.
__________________
blade81 is offline
pRED*
Join Date: Dec 2006
Old 04-23-2008 , 02:40   Re: Plugin interface
Reply With Quote #2

Only if those functions were specifically registered as natives.

http://wiki.alliedmods.net/Creating_...Mod_Scripting)
pRED* is offline
DS
SourceMod Developer
Join Date: Sep 2004
Location: WI, USA
Old 04-23-2008 , 08:24   Re: Plugin interface
Reply With Quote #3

You can call other functions in plugins if the functions are public. Call_StartFunction() or Call_StartForward() depending on what your goal is.

See http://wiki.alliedmods.net/Function_...Mod_Scripting)
__________________
エル・プサイ・コングルゥ

Last edited by DS; 04-23-2008 at 08:27.
DS is offline
BAILOPAN
Join Date: Jan 2004
Old 04-23-2008 , 11:44   Re: Plugin interface
Reply With Quote #4

Though, a note: you shouldn't call random functions in other people's plugins unless those functions are documented as externally invokable callbacks. People have a habit of randomly exposing public functions that they should not have done so.
__________________
egg
BAILOPAN is offline
blade81
Senior Member
Join Date: Apr 2005
Old 04-23-2008 , 13:56   Re: Plugin interface
Reply With Quote #5

Thanks!
__________________
blade81 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:48.


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