View Single Post
mewbie222
Senior Member
Join Date: May 2018
Old 12-15-2022 , 05:36   Re: [DOD:s]fix [DoDS] Class Restrictions for individual players..
Reply With Quote #5

Quote:
Originally Posted by Bacardi View Post
ok.

Code:
L 12/15/2022 - 11:18:38: [SM] Exception reported: Array index out-of-bounds (index -2, limit 10)
L 12/15/2022 - 11:18:38: [SM] Blaming: sm_dod_class_block.smx
L 12/15/2022 - 11:18:38: [SM] Call stack trace:
L 12/15/2022 - 11:18:38: [SM]   [1] Line 84, /home/groups/alliedmodders/forums/files/2/4/5/7/3/34598.attach::ChangeClassE
They just need use "random class" then plugin get error.

*edit
You can disable this with mp_allowrandomclass 0
Ok , testing ,in my server.cfg server mp_allowrandomclass 1..
thanks for the advice, we'll try, maybe this is really a mistake.
upd:nope did not help, still managed to take to get a blocked class.

so far this command has not helped ... but for now they checked, when the 1st time was chosen, the class was blocked for the player, as soon as he sharply clicks again on the same blocked class for the player, the player can open the class.

Last edited by mewbie222; 12-15-2022 at 10:25.
mewbie222 is offline