CayDr, you work a lot but I wasn't expecting that

Moderator: Moderators
Code: Select all
static-var counter;
Create() {
...
counter = 0;
}
WhateverThePickupFunctionIs() {
...
attach-unit unitid;
++counter;
}
WhateverTheDropFunctionIs() {
...
drop-unit unitid;
--counter;
}