Raised This Month: $ Target: $400
 0% 

[Help] VIP/Gunmenu Plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
LegacyCode
Member
Join Date: Apr 2017
Old 05-23-2017 , 20:59   Re: [Help] VIP/Gunmenu Plugin
Reply With Quote #9

Quote:
Originally Posted by OciXCrom View Post
When are you using ArrayDestroy()? (I'm on my phone and can't view the file - this is why it's better to upload the code rather than the file)

abort() is used to throw an error in the log files, so you're using it correctly. You need set_fail_state() on its place if you want to stop the plugin.
ArrayDestroy() on plugin_end() for all arrays. I didn't want to upload 1700+ lines of code directly...
Cool, didn't know about set_fail_state(), will use that one. Thanks! Testing new version on server today and see if it crashes again.

- LegacyCode

Last edited by LegacyCode; 05-24-2017 at 04:00.
LegacyCode 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 20:41.


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