Code: Select all
Class WTest : Shotgun
{
States
{
Fire:
SHTG B 20
{
invoker.A_GiveInventory("Cell", 6);
A_LogInt(invoker.CountInv("Cell"));
A_LogInt(CountInv("Cell"));
}
Goto Ready;
}
}
If you have the standard Doom HUD, you should see your ammo counters.
As you can see from the Cell ammo counter it's you who receives the 6 Cells.
The two A_LogInt calls confirm this because they print the same result.