AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Per mod commands? (https://forums.alliedmods.net/showthread.php?t=162)

devicenull 03-09-2004 17:10

Per mod commands?
 
Can I have one giant plugin, and have it check which mod is running and use the correct commands? or do I have to change it all at compile time

BAILOPAN 03-09-2004 17:21

We only have one mod module written now called Cstrike, but there will be more as of the 0.2 and 0.3 releases.

I am pretty sure there is a function to get which modules are loaded, so you will be able to tell what mod the server is using.

devicenull 03-09-2004 17:56

Yea. Im wrote a bunch of commands for natural selection/mysql and am going to expand it to cover more of the mods I use
Im just using get_modname(modname,64)
I pretty much answered my question about two mintes after I posted


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

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