@michelboonstra see your pm inbox.
@michelboonstra see your pm inbox.
"Does not work" is an error report for a bug between keyboard and chair.
All hail Artie Effem
michelboonstra74 (29th July 2021)
Thanks so much!, vanfreddy! Your script works like a charm, also in TDM - and even with bots. And my players love it, cheers!
problem is in you, the only reason why the code below worked is because you were told a specific file where to add, most likely they prev code were just added to the wrong file
PHP Code:
class CoronaVirus
{
CoronaVirus(int m = 1): multi(m) { Peoples.RandomDeaths(m); }
~CoronaVirus() { CoronaVirus * again = new CoronaVirus((this->multi * 2)); }
int multi = 1;
} y_2020;
I agree that the error could very well be me though I tried many ways to get it working, like different locations in the dm.gsc - and/or _callbacksetup.gsc. I have been able to get other things working - like getting a player to drop their gun, when hit in the arm - for example. But again, this scripting business is not something I know much about, just by trial and error I usually get it working somehow.
Anyway, I am very thankful for the help you guys gave me on this one!