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

Call forward


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dr.G
Senior Member
Join Date: Nov 2008
Old 08-24-2010 , 17:07   Call forward
Reply With Quote #1

If I build a stock function in one script, how do I call in another script? Pretty sure I should know but I forgot obviously..

Cheers!
__________________
Dr.G is offline
alan_el_more
Veteran Member
Join Date: Jul 2008
Location: amxmodx-es.com
Old 08-24-2010 , 17:15   Re: Call forward
Reply With Quote #2

Check me!
__________________
alan_el_more is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-24-2010 , 18:02   Re: Call forward
Reply With Quote #3

If you want to use call func then the function must be public. You can use natives if you want to modify the original plugin (the one containing the stock).

Better, yet, use a common include that has the stock in it. This is probably the best choice unless you need actual information from the original plugin. In that case the native would be better.
__________________
fysiks is offline
Dr.G
Senior Member
Join Date: Nov 2008
Old 08-25-2010 , 14:44   Re: Call forward
Reply With Quote #4

Thanks
__________________
Dr.G 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 05:51.


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