Commit Graph

26 Commits (9c954fd952b15d6b4dc4202260af49aab5437003)

Author SHA1 Message Date
Icedream 9c954fd952 Do not trigger Undisguise on removal if we're dead (as being dead resets us anyways for the most part) 2013-12-21 10:53:01 +01:00
Icedream 82d4581f12 Move Remove weapon hook to server-side code. 2013-12-21 10:49:21 +01:00
Icedream 6b50ca2218 Add worldtip compatibility layer. 2013-12-21 10:46:51 +01:00
Icedream bdb9c22507 Make error message for missing sound file red in the debug console. 2013-12-21 10:06:05 +01:00
Icedream 904f9b3326 Force the player to undisguise when the SWEP gets removed. 2013-12-21 10:04:57 +01:00
Icedream ecb77db28b Hide model properly by using a Think hook. Fixes #5. 2013-12-21 10:04:23 +01:00
Icedream 7a3c9949e0 Well, that's what happens if we end up copy-pasting all the stuff, right? :P 2013-12-21 04:58:12 +01:00
Icedream 4d20224340 Typo. 2013-12-21 04:42:30 +01:00
Icedream edd3f9d9f0 Use network bool to inform the client of disguise status. Needed for draw model hiding on client-side. 2013-12-21 04:41:01 +01:00
Icedream d54d2465e1 Prevent the weapon from shooting when pointing at invalid model. See #1 for more info on invalid model. 2013-12-21 04:17:33 +01:00
Icedream e5a04781bf Epic fail. Grrr. 2013-12-21 04:14:05 +01:00
Icedream 449a819b70 Seriously, if I fuck up simple "if" conditions like this, I should go to bed. Fixes #1 now for reals. 2013-12-21 04:04:10 +01:00
Icedream e9de7f4a46 How the fuck did I even end up putting the last fix under :Undisguise()!? 2013-12-21 03:57:30 +01:00
Icedream 73c3a720c2 Only support models of type *_prop_*/prop_*/*_prop. Fixes #1 once again. 2013-12-21 03:53:33 +01:00
Icedream 63f29c4018 Do not allow "star models" (those prefixed with a "*"). Fixes #1. 2013-12-21 03:05:50 +01:00
Icedream 62615511d9 I guess the default functions for attack cause the click sound. 2013-12-21 01:43:41 +01:00
Icedream ea301d4f85 GetSkin can have no value and also apply color. 2013-12-21 00:41:01 +01:00
Icedream 6619c066e4 Fix ammo system deactivation issue. 2013-12-21 00:33:15 +01:00
Icedream 46d36fcfef DrawWorldModel is a server-only function. 2013-12-21 00:20:38 +01:00
Icedream 88e00c13e1 if-Condition inside disguiserShootFX handler fails terribly. 2013-12-21 00:16:59 +01:00
Icedream 6a537cd924 IsValid doesn't work on functions. 2013-12-21 00:12:40 +01:00
Icedream d6795521e6 So not even the documentation told me that LocalPlayer() doesn't even have GetWeapon. 2013-12-21 00:11:16 +01:00
Icedream 5aa438d6b1 Missing ")". I hate how I need to debug everything on a separate server. 2013-12-21 00:08:01 +01:00
Icedream 95d24ee304 LocalPlayer():GetWeapon == nil, wat!? 2013-12-21 00:02:40 +01:00
Icedream d4defe253e Sorry, I was too lazy. Fixed '=' syntax error. 2013-12-20 23:55:54 +01:00
Icedream 895a860506 Initial commit. 2013-12-20 23:44:28 +01:00