Well atm I use the same method of the concommand give to dynamic spawn items which is:
string_t iszItem = AllocPooledString( pszItem ); // Make a copy of the classname DevMsg("SpawnItem: Trying to spawn [%s] \n", STRING(iszItem)); CBaseCombatWeapon *lastItemSpawned=(CBaseCombatWeapon*)CreateEntityByName(STRING(iszItem)); But I have found that in doing so it tends to chop up long strings for example: Before: Attemting to spawn [weapon_cougar_magnum] Middle: SpawnItem: Trying to spawn [weapon_couga%|†] After : Attempted to create unknown entity type weapon_couga%|†! Is there a better way of doing this or fixing this so it works. I searched the net and couldn’t find any thing. Also is any way to save vars between map changes without using cvars? Mark _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders