if(plugin is loaded) help.
if(plugin.amxx == loaded){
blah blah } is there a way to check if i plugin is loaded. like how would the code look like i know what i made doesnt mean anything but i just made it up so maybe you can understand what i am asking. Thank you to whoever can help. |
Re: if(plugin is loaded) help.
|
Re: if(plugin is loaded) help.
Thank you :)
|
Re: if(plugin is loaded) help.
Dosent find_plugin_byfile just return if it exsist in your plugins folder.
Think he wants to use is_plugin_loaded |
Re: if(plugin is loaded) help.
Quote:
I still prefer using is_plugin_loaded ;) |
Re: if(plugin is loaded) help.
But if you get badload then find_plugin_byfile will still show the plugin id right?
Because it dose exsist if not then the nativs name is a bit misleading. |
Re: if(plugin is loaded) help.
Quote:
|
Re: if(plugin is loaded) help.
But if the file dose exsist and the user just wrote the wrong name in plugins.ini
It will not return what its suppose to do if the thingy you mentioned danielkza is correct about find_plugin_byfile. So the only diffrence betwin the nativs is what they compare?(filename or the one in register_plugin) Or dose it return correct if it dont get loaded? If not the name is really misleading and file_exists is a better option. |
| All times are GMT -4. The time now is 03:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.