View Single Post
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-22-2022 , 11:47   Re: [DOD:s]fix [DoDS] Class Restrictions for individual players..
Reply With Quote #11

I drop unfinished test plugin here, you can try if you like.

- There is no menu and KeyValue file in use.
- There is test command "sm_testclass", you ban yourself sniper class in both teams.
When player disconnect ban is removed.


This use DHooks. So I have only tested on Windows, but I included Linux signatures hope those work.

*edit
About that original plugin what you posted #1, I think you just need disable random class (mp_allowrandomclass 0)
Becuase it is one class like others, but player get different class on each respawn, it bypass joinclass command.
Attached Files
File Type: zip earlyaccess_test_dod.zip (16.2 KB, 51 views)
__________________
Do not Private Message @me

Last edited by Bacardi; 12-22-2022 at 11:50.
Bacardi is offline