Raised This Month: $ Target: $400
 0% 

[CS:S] Gangs Mod - Jailbreak


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Eden.Campo
Member
Join Date: Mar 2013
Old 07-03-2013 , 01:54   Re: [CS:S] Gangs Mod - Jailbreak
Reply With Quote #10

Quote:
Originally Posted by Annihilator View Post
Nice plugin, looked though your code and here's a few suggestions:

When creating GangMainMenu you don't need to put the whole menu in an if statement, only the parts that are different for every rank.

Most of the huge if-else statements in onPlayerSpawn can be changed to switches.

Try not to create huge functions, divide them into smaller ones, so that you can reuse some of the smaller ones and the code should become shorter (and easier for others to read )

All in all, after TQueries, I will put this one to field testing
@Annihilator
Thank you for the feedback.

I will release the new version today with your suggestions (:
Eden.Campo 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 14:27.


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