View Single Post
lolerto
Member
Join Date: Jul 2011
Old 02-01-2021 , 02:19   Re: Changing weapon models (Extended)
Reply With Quote #124

Quote:
Originally Posted by ConnorMcLeod View Post
https://forums.alliedmods.net/showth...78#post1020078

Code:
 * v 0.2.3
 * - Added shield support
 * - Fixed missing p_ models support that were causing crashes
 * - Added pdata check on player on weapon deploy event
Also, Freeman, if you experience crashes, you can enable line 65 and recompile :
Code:
// #define DONT_BLOCK_PRECACHE
And see if crashes still happen or not.

If line 286 ( get_pdata_cbase(id, m_pActiveItem) ) still throw errors after pev_valid(id) == 2 check is passed, fault is on hamsandwich module, can't do anything on it (bug reported https://bugs.alliedmods.net/show_bug.cgi?id=5787 ).
How can I restrict only for administrators?
__________________
lolerto is offline