blob: 2d7bec848a04e0d56f87343ce6ef197d94434c8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
Private["_oldScore","_newScore","_playerChanged"];
_playerChanged = _this select 0;
_newScore = _this select 1;
_oldScore = score _playerChanged;
_playerChanged addScore -_oldScore;
_playerChanged addScore _newScore;
WFBE_ChangeScore = [nil,'CLTFNCCHANGESCORE',[_playerChanged,_newScore]];
publicVariable 'WFBE_ChangeScore';
if (isHostedServer) then {[nil,'CLTFNCCHANGESCORE',[_playerChanged,_newScore]] Spawn HandlePVF};
|