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

Plugin-autoreload


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Timiditas
Senior Member
Join Date: Apr 2009
Old 10-13-2009 , 19:26   Plugin-autoreload
Reply With Quote #1

Thought I'd share this. Simple, trivial plugin but makes life easier while developing/debugging an SM plugin.

When the attached plugin is loaded, it creates a list of all files and timestamps in addons/sourcemod/plugins (ignoring if they are loaded or not) , excluding itself.
Every 2 seconds, it checks if one of the timestamps has changed and fires "sm plugins reload %s" on the respective plugin.
Attached Files
File Type: sp Get Plugin or Get Source (autoreload.sp - 2104 views - 2.2 KB)
__________________

Timiditas is offline
 



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 08:22.


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