AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help about dynamic natives and a multi-mod plugin (https://forums.alliedmods.net/showthread.php?t=76181)

danielkza 08-19-2008 19:35

Help about dynamic natives and a multi-mod plugin
 
I have one plugin,which uses a base include that contains some stocks. One of these stocks needs the names/ids of the mod's teams. So,I thought I could do one mod-less plugin,and get the info from the team-specific ones. Although, the team specific ones also need the base include,which depends on the mod one. I thought about keeping 2 vars holding the plugin id and funcidx, make a fake native to register this function from the mod-specific plugin,then call it when needed. Anybody has any ideas about this? Maybe turning the hole thing into a fake native,but I would still need to register the team-check function. Maybe doing conditional compiling instead of multiple plugins? Any help will be appreciated. PS: Why when i type whitespaces they're stripped from my post? I tried to organize it,but all my line feeds disappear when I click to preview my post. Also,i realized none of the post editor buttons work.


All times are GMT -4. The time now is 03:15.

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