I am trying to create a model entity for a mp mod. Do I put it in shared 
mp or just server dir? When I create to cpp and h files everything 
compiles but when I created the entity it returns null:


IServerNetworkable *pNetwork = EntityFactoryDictionary()->Create( 
className );
    g_pForceAttachEdict = NULL;

    if ( !pNetwork )
        return NULL;


It always returns null and I get a message in game: Attempted to create 
unknown entity type:

-- 
Best regards,
 Dan
 http://www.lnxmad.com


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to