Commit Graph

100 Commits

Author SHA1 Message Date
Redox
a3349cf530
Space 2025-01-20 15:13:30 +01:00
Redox
b31ab45ae0
Improve move msg, fits in with the others better 2025-01-20 15:07:50 +01:00
Brandon Sturgeon
f4e5d06ff7
no weapon switch check, no jump check, no crouch check 2024-11-11 21:42:53 -08:00
Redox
29debb7616
Style 2024-11-09 00:23:44 +01:00
Redox
3b6ba85063
Fix Custom Loadout breaking spawnprotection 2024-11-09 00:23:05 +01:00
Redox
9be414493d
Set physgun to default weapon 2024-10-29 19:04:40 +01:00
StrawWagen
6519f837b4
Infinite duration on first spawn (#41)
* Infinite duration on first spawn

Infinite spawn protection duration for first time spawns

* Properly handle spawning in players

* Update lua/autorun/server/sv_spawn_protection.lua

Co-authored-by: Brandon Sturgeon <brandon@brandonsturgeon.com>

---------

Co-authored-by: Brandon Sturgeon <brandon@brandonsturgeon.com>
2024-10-27 14:06:11 -07:00
legokidlogan
46980e0089
Account for delayed loadouts (#42)
* Only check weapons after loadout addons do their thing

* Consistency

* Force physgun to be selected on spawn

* Remove spawn protection on shooting, not pulling out a weapon
2024-07-04 21:41:18 -05:00
NullLikesNothing
76c435dd7d
Merge pull request #40 from CFC-Servers/fix/null-weapon-error
Fix NULL weapon error
2023-10-15 18:40:13 -05:00
NullLikesVoid
bfd0f6470f Fix NULL weapon error 2023-10-15 18:35:44 -05:00
Redox
a2c4bb853f
Style spawn protection to be more hl2ish (#39) 2023-08-28 01:28:16 +02:00
Redox
1db5ab5c23
Add visual indicator (#38)
* Add visual indicator

* Improve logic
2023-08-21 01:15:45 +02:00
Redox
216f95a4f2
Only check attack for non allowed weaponry (#37) 2023-08-03 03:38:34 +01:00
Redox
8e74f0c4f3
Improve keypress detection (#36) 2023-07-26 01:18:24 +02:00
Redox
7894c9eb8a Fix logic 2022-10-05 01:02:04 +02:00
Brandon Sturgeon
3fce18f3d0 Use PlayerSetModel and remove timers 2022-10-04 00:43:41 +02:00
Redox
9567a311c2 Fix spawn protection not enabling 2022-10-04 00:43:41 +02:00
Brandon Sturgeon
d7db4dbd78
Add glualint workflow (#33) 2022-09-26 10:16:52 -07:00
Brandon Sturgeon
d9f8013166
Fix too long or too short spawn protections (#32) 2022-08-24 12:50:04 -07:00
Brandon Sturgeon
5d5bdb68e2
Hotfix 2022-08-14 19:21:28 -07:00
Redox
e00e877eb4 Remove unfreeze hook 2022-04-23 14:26:22 -07:00
Redox
0905a53aa9 Remove physgun reload, physgun freeze. Remove spawn protection on unfreezes 2022-04-23 14:26:22 -07:00
Redox
fcaed3bd68 Disable spawnprotection on physgun activities 2022-04-23 14:26:22 -07:00
Redox
b721f7444a Update lua/autorun/server/sv_spawn_protection.lua
Co-authored-by: Brandon Sturgeon <brandon@brandonsturgeon.com>
2021-12-11 23:12:55 +01:00
wrefgtzweve
77bfac280e Bool fix 2021-12-11 23:12:55 +01:00
wrefgtzweve
74b5d14f94 Remove halos & use player tables instead of NWBool 2021-12-11 23:12:55 +01:00
wrefgtzweve
c9f0de7052 Remove collision group changing 2021-12-11 23:12:55 +01:00
wrefgtzweve
c9acce2058 Add PlayerUse check 2021-12-11 23:12:55 +01:00
wrefgtzweve
33a4d37cb8 Remove hook.removes, as there is no need for them 2021-12-11 23:12:55 +01:00
wrefgtzweve
d375cdb6bf Use something called a function to reduce copycode 2021-12-11 23:12:55 +01:00
wrefgtzweve
8b29caf9e2 Fix style + unused vars 2021-12-11 23:12:55 +01:00
Redox
2388de18f3 Change alpha from 175 to 180 2021-10-10 12:55:41 -05:00
Redox
5caec59167 Use isInPvp instead 2021-10-10 12:54:06 -05:00
StrawWagen
7867f21163 made printMessage variables local 2021-04-14 12:08:38 -07:00
StrawWagen
847c3f6c62 updated prints
Added printMessage variable to removeSpawnProtection
Added specific "lost spawn protection" messages
2021-04-14 12:08:38 -07:00
Brandon Sturgeon
783d9c5989 Fix linting violations 2019-11-01 00:44:04 -07:00
Brandon Sturgeon
250b9d1097 Various whitespace fixes 2019-11-01 00:44:04 -07:00
Bleck
ac4fb6f85e Fixing errors upon disconnecting in spawn protection 2019-08-08 19:48:12 -07:00
Bleck
24cc0ac4e6 Standardizing capitalization 2019-08-08 19:20:10 -07:00
Brandon Sturgeon
012ecabcf9
🔥 HOTFIX 🔥 2019-08-08 18:51:27 -07:00
Brandon Sturgeon
075edf16e4 Fix null entity error 2019-08-08 18:40:12 -07:00
Brandon Sturgeon
dbe51e9585
Hotfix 2019-07-09 01:43:42 -07:00
Justin Muskopf
88110dc931 there. better? 2019-07-05 14:56:03 -07:00
Justin Muskopf
478ea0f5c6 Update sv_spawn_protection.lua 2019-07-05 14:56:03 -07:00
Justin Muskopf
4fda918d25 IsValid? better be!
idk this should do it
2019-07-05 14:56:03 -07:00
PLally
147209076c remove weapon_physcannon from allowed weapons 2019-06-14 16:45:38 -04:00
Brandon Sturgeon
a8380de6cb
Create LICENSE 2019-05-28 10:52:00 -07:00
Deconkle
2631a94601
Merge pull request #14 from CFC-Servers/weapon-visual-bugs
Fix 2 visual weapon bugs
2018-09-04 17:20:39 -05:00
Deconkle
c9e33fcd21
Update sv_spawn_protection.lua
Used alternative method of switching players weapons
2018-09-02 20:59:52 -05:00
Decline
5377c45fbb Fixed 2 visual weapon bugs 2018-09-02 19:34:57 -05:00