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

Req function is_module_loaded


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sonic
Junior Member
Join Date: Feb 2004
Location: Germany
Old 02-13-2004 , 16:33   Req function is_module_loaded
Reply With Quote #1

Hi

Function to check a module is loaded or not
and maybe a interface versions check ....
__________________
Sonic is offline
_KaszpiR_
AMX Mod X Beta Tester
Join Date: Feb 2004
Location: Warsaw, Poland
Old 02-25-2004 , 09:58  
Reply With Quote #2

some modules are registering a variable that represents that the module is running and what version - in example fun module (in hlds logs)

so i guess it would be easier to check if cvar exist
_KaszpiR_ is offline
SniperBeamer
AMX Mod X Founder
Join Date: Jun 2003
Location: Good Old Europe
Old 02-25-2004 , 10:08  
Reply With Quote #3

the function will be added soon
__________________
SniperBeamer is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 02-25-2004 , 11:56  
Reply With Quote #4

Why would you need this??
Johnny got his gun is offline
Sonic
Junior Member
Join Date: Feb 2004
Location: Germany
Old 02-25-2004 , 15:07  
Reply With Quote #5

look in the support forum @ amxmod.net

User:
1) Download a Plugin
2) Get a Error
3) Post @ Support forum Plugin not work.
4) Answer: You need to install Module X, Version X

.......

To get Modules info @ Plugins
like get_srvcmd and get_srvcmdsnum
__________________
Sonic is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 02-26-2004 , 04:30  
Reply With Quote #6

Ok sure, it could be useful to answer with a URL to module download page if they don't have the module.
Then you would probably have to get version number and all that as well.
Johnny got his gun is offline
Reply


Thread Tools
Display Modes

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 11:20.


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