You'll need to add your monsters in the monster_types list, and add an entry in the spawn_monster function's switch statement that matches the index in the list.
For example, the last entry is the Zombie, with a name of "zombie", at index 13. There is already a barney monster defined in this list so you can use that. If you need to add your own, add the name before the last entry (the "", FALSE part), then add your monster to the switch with a matching index. This is the previous index + 1, so adding a new monster would have index 14. Don't forget to include the header that declares the monster class as well, if it isn't declared in cmbasemonster.h. This plugin seems to be rather inefficient in design, so if you can you should redesign this. If you don't understand why then there's no need to worry; this does work, albeit poorly. Op 27/02/2017 om 18:09 schreef SK G: > Exactly It's the same bro if you can help me i appreciate very much > > if you need the source pack i send you via private mail > > 2017-02-27 13:29 GMT-03:00 Sam Vanheer <duo...@hotmail.com>: > >> Could you post the entire compile log, it looks like there are errors >> elsewhere that are cascading to cause this problem. >> >> >> Op 27/02/2017 om 17:20 schreef SK G: >>> Hi everyone. >>> >>> I need help with MonsterMod for Metamod I'm trying link the entities with >>> them and I got this error >>> >>> error C2065: 'monster_barney' : undeclared identifier >>> error C2275: 'CMTalkMonster' : illegal use of this type as an expression >>> >>> I'm using this LINK_ENTITY_TO_CLASS( monster_barney, CMBarney ); >>> >>> Thanks a lot! >>> _______________________________________________ >>> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders >>> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders >> >> > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders