User:Ccw
Jump to navigation
Jump to search
Proposed Lua additions
Client and server function
setElementFrozen ( element, bool )
To work with vehicles, peds and dynamic objects like barrels and what not.
Server event
onSettingChange ( name, oldValue, newValue )
So the resource can take action if one of its settings get changed. Could even cancel the change I suppose.
Unresolved crashes
Invalid pointer CClientPed::StreamedInPulse
m_pCurrentContactEntity is non NULL, but invalid
MTA10\mods\shared_logic\CClientPed.cpp Line:2344
-- // Remove any contact entity we have saved (we won't have one in a vehicle) if ( m_pCurrentContactEntity ) { >> m_pCurrentContactEntity->RemoveContact ( this ); m_pCurrentContactEntity = NULL; }
Maybe m_pCurrentContactEntity is being deleted, without the ref being removing here.