Raised This Month: $51 Target: $400
 12% 

amxx pause (Question)


Post New Thread Reply   
 
Thread Tools Display Modes
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 07-15-2013 , 13:04   Re: amxx pause (Question)
Reply With Quote #21

Try this code (using the module with set_plugin)
Code:
#include <amxmodx> #include <amxmisc> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "author" #define PLUGIN_FILENAME "DrPowers.amxx" public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)         static i;     for (i = 0; i < get_pluginsnum(); i++)     {         static fileName[64];         get_plugin(i, fileName, charsmax(fileName));                 if (equal(fileName, PLUGIN_FILENAME))             set_plugin(i, _, "New DeathRun Powers");     } }
TheDS1337 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-15-2013 , 18:35   Re: amxx pause (Question)
Reply With Quote #22

Quote:
Originally Posted by K1d0x View Post
Still work
If you change the filename and the name in register_plugin() of the plugin that is being paused then the plugin for which you do not have the source cannot know that that plugin exists.
__________________
fysiks is online now
Reply



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 19:19.


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