var ammo_reload = minv( ammo_left, // Maximum is ammo_left, so we can't reload bullets we don't have 30 - ammo_current); // Calculate missing ammo in weapon ammo_left -= ammo_reload; ammo_current += ammmo_reload;
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de