Commit Graph

69 Commits

Author SHA1 Message Date
7111a8c594 Made a basic weapon API, fixed SetPlayerAlpha function, moved logging to its own file (had to be done now, it was hard to find before), made a separate cvar to disable logging fully. 2009-04-20 05:43:20 +02:00
41153af5f4 Reorganized cvars.inc, organized all cvars into module groups (to be updated later), removed unused cvars, made classes and weapons core modules (event forwarding priority), updated spawn protect cvars, added cvars to disable weapons, restrict, and hitgroups 2009-04-20 02:56:26 +02:00
589baa6869 Made CVAR for class file. Simplified formatting on log messages. 2009-04-19 01:10:30 +02:00
ed66030245 Merged heads. 2009-04-18 02:23:36 +02:00
72c6e9f632 Improved handling of missing classes in class menus. Fixed bots not getting default class config (removed IsFakeClient check). Made new ClassCountTeam function for customized counting. 2009-04-18 02:22:13 +02:00
c34e32097d Fixed admin infect bug (I think), made roundend core module, handles all round end events, modified ClassApplyOverlay, removed mp_restartgame hook, recoded PlayerLeft and BalanceTeam functions. And added comments. 2009-04-18 01:44:41 +02:00
ecc9cf5167 Removed player list functions, recoded mother zombie picking function, removed allow_player_team cvar as models are handled by class system now, prefixed generic plugin functions with ZR, added comments in zombiereloaded.inc, added new function to check if clients are on either or both teams. 2009-04-17 12:16:44 +02:00
39ff709d7f Fixed little typo in comment, and uncommented zclass say command. 2009-04-16 08:08:58 +02:00
872e41e6d2 Recoded IsClientPlayer, renamed to IsClientValid, replaced
GetMaxClients() with maxclients
Ignore diff for zhp.inc and spawnprotect.inc
2009-04-16 03:57:46 +02:00
258c839a27 Merged heads. 2009-04-15 23:41:22 +02:00
b481546dc4 Made class menus and a class data dump console command. 2009-04-15 23:40:45 +02:00
37dfea2f8c Removed SetPlayerModel, removed deprecated code in models.txt, added CSWeaponDrop, updated gamedata file. 2009-04-15 21:22:11 +02:00
2bb28b87c1 Merged heads. 2009-04-14 23:33:50 +02:00
13ab32a7bb Started on new class menus (new file). Fixed parameter name in class attributes. Made function IsClientAdmin (generic admin). 2009-04-14 23:33:06 +02:00
648a875c14 Removed old class system. Cleared out external API natives and forwards. Commented out old menus. 2009-04-14 23:16:31 +02:00
a8704cf90c Implemented the new class system. Class menu missing, only default classes working. 2009-04-11 01:56:22 +02:00
d3b51c1b1a Added validation on class attributes. Some attributes still aren't validated because of unknown limits. 2009-04-07 04:44:37 +02:00
907788e36a Finished functions for applying class attributes. 2009-04-07 02:13:25 +02:00
405e7f0005 Restructured class system files. Added more functions for applying class attributes. 2009-04-06 03:20:13 +02:00