Lua callback: onUsedAmmo, after using up an ammo
Useful to know when e.g. shotgun attack has finished
Syntax: onUsedAmmo(ammoType)
* ammoType: Ammo type of used ammo
Note: Not called for ammo type amNothing
Thanks to KoBeWi
#include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}