aeroson

Arma 3 - mcFlaw's prevent negative rating

Dec 16th, 2014
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. /*
  2. This script detects and resets negative player ratings. The ArmA engine tracks and punishes team killers by reducing the rating of offenders. Any one with a rating below -2000 is considered a "traitor", an enemy to his or her own faction. This makes AI attack them, and prevents non-traitors from entering any vehicle with a traitor in it.
  3.  
  4. Run this script if you don't want the game to punish teamkillers this way.
  5. */
  6.  
  7.  
  8. while {true} do {
  9.  
  10. // If player has a negative rating, reset it to default value of 250.
  11. if (rating player < 0) then {
  12. player addRating (-1 * rating player + 250);
  13. };
  14.  
  15. sleep 10;
  16. };
Advertisement
Add Comment
Please, Sign In to add comment