//------------------------------------------------------------------------ int CScriptBind_Actor::CreateCodeEvent(IFunctionHandler *pH,SmartScriptTable params) { CActor *pActor = GetActor(pH); if (!pActor) return pH->EndFunction(); if (pActor) return (pActor->CreateCodeEvent(params)); return pH->EndFunction(); }