Raised This Month: $ Target: $400
 0% 

[CS:S] Gangs Mod - Jailbreak


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Annihilator
Senior Member
Join Date: Nov 2006
Location: Lithuania
Old 07-02-2013 , 18:55   Re: [CS:S] Gangs Mod - Jailbreak
Reply With Quote #9

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
__________________
Private Plugins: Jail Rank | Rebel Zones | Round end Rebels | Freekill Guard

Last edited by Annihilator; 07-02-2013 at 18:55.
Annihilator 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