Raised This Month: $ Target: $400
 0% 

[WS] Weapon Storage Crates 1.0b


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 02-08-2008 , 23:22   Re: [WS] Weapon Storage Crates
Reply With Quote #11

I personally like the idea of this plugin. However I do have a few suggestions that be done before this could be approved.

1) Don't use hard coded paths for files. Use get_basedir and format in one of your init functions to accomplish the dynamic file locations.
2) Use pcvars over cvars especially in Prethink!
3) Use switch for typeof.
Code:
switch( wp ) {     case: CSW_SCOUT,CSW_MX1014,CSW_...:     {         return W_PRIMARY     }     case: CSW_..., CSW_...:     {          //...     }     default:     {          return W_NONE     }
4) For float_origin use
Code:
float_origin[i] = Float:origin[i]
instead of coverting to string and then to float.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
 



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 18:23.


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