View Single Post
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 12-05-2004 , 15:51  
Reply With Quote #3

A few suggestions

Code:
public plugin_modules() {     require_module("array") }

That will place errors in amxx log files if people dont enable that module, kinda nice feature they added. It will also help you from saying "you have to enable the array module" a lot more.

Also

Code:
#include <file> #include <float> #include <string>

Those 3 inlcudes are automatically in amxmodx.inc ... soo you could remove them from the entire plugin source because they already included with

Code:
#include <amxmodx>

Just to help you improve the code a lil

Soo changing

Code:
#include <amxmodx> #include <amxmisc> #include <array> #include <file> #include <float> #include <string>

To

Code:
#include <amxmodx> #include <amxmisc> #include <array> public plugin_modules() {     require_module("array") }
__________________

BigBaller is offline