View Single Post
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-13-2013 , 09:42   Re: Changing weapon models (Extended)
Reply With Quote #101

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 ).
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 07-13-2013 at 09:48.
ConnorMcLeod is offline