AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Call forward (https://forums.alliedmods.net/showthread.php?t=136270)

Dr.G 08-24-2010 17:07

Call forward
 
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!

alan_el_more 08-24-2010 17:15

Re: Call forward
 
Check me!

fysiks 08-24-2010 18:02

Re: Call forward
 
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.

Dr.G 08-25-2010 14:44

Re: Call forward
 
Thanks


All times are GMT -4. The time now is 22:02.

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