Ok, I'll try to explain what my problem is.
As mentioned earlier, a few months ago, if not a few years ago, I had an admin menu that offered everything you could possibly imagine. Unfortunately, I can not remember where I came from.
admin menu is not bad, but many things are missing. There was no way to spawn Vomit-Jar. Defibrillators and adrenaline were also missing. In the mini-gun menu you can spawn only the heavy machine gun, no mini-gun. The deagle is missing too. The special infected lacked Jockey, Spitter and Charger.
I have added all this myself by reworking the file "l4d_weaponspawner.sp" and converting it with the compiler of SourceMod.
Now I just lack features like the Spitter-Spit, laser sights and the explosive barrels.
Is there no way to incorporate these into the file "l4d_weaponspawner.sp" so that you do not need a new plugin?
For the adrenaline and the defibrillator, for example, I simply added the following in the file:
decl String:first_aid_kit, String:defibrillator, String:adrenaline, String:pain_pills, String:title;
new Handle:menu = CreateMenu(MenuHandler_SpawnWeapon);
Format(first_aid_kit, sizeof(first_aid_kit),"%T", "FirstAidKit", LANG_SERVER)
AddMenuItem(menu, "weapon_first_aid_kit", first_aid_kit)
Format(defibrillator, sizeof(defibrillator),"%T", "Defibrillator", LANG_SERVER)
AddMenuItem(menu, "weapon_defibrillator", defibrillator)
Format(adrenaline, sizeof(adrenaline),"%T", "Adrenaline", LANG_SERVER)
AddMenuItem(menu, "weapon_adrenaline", adrenaline)
Format(pain_pills, sizeof(pain_pills),"%T", "PainPills", LANG_SERVER)
AddMenuItem(menu, "weapon_pain_pills", "Pain Pills")
Format(title, sizeof(title),"%T", "HealthMenuTitle", LANG_SERVER)
ChoosedMenuSpawn[client] = "HealthSpawnMenu";
DisplayMenu(menu, client, MENU_TIME_FOREVER)
Is it not possible, if I know what the exact name, for example of the barrels, is, and then add it as well?