08-19-2014, 08:05 PM
(08-19-2014, 05:20 PM)alias link Wrote: I have no problems on test, when hosting, but on dedicated if i try to pick up a weapon (NATO SF for instance) the game crashes.
I had that problem in Choplifter: If I picked up a weapon, I'd crash. Turns out that I had two pistols so the script was running too often.
What you should do is only run the script when the unit is local to the machine. Use Alwarren's safeAddLoadout function here