Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

a guest Apr 9th, 2020 112 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. Daniels Morris
  3. Script XP
  4. Description :
  5. Systéme de switch pour l'xp
  6. */
  7. if !(alive player) exitWith {};
  8. notif = {
  9. ["NivUp", ["+1"]] call BIS_fnc_showNotification;
  10. };
  11. nv5 = {
  12. hint parsetext format ["<t color='#CC218A36' size='2' >Niveau 5</t><br/>Félicitation tu viens de passer niveau 5!<br/>Tu deviens grand"];
  13. };
  14.  
  15. _xp = life_xp;
  16. switch (_xp) do
  17. {
  18.     case (_xp >150 && _xp <250): {systemChat "Tu viens de passer Niveau 1!";};
  19.     case (_xp <=250): {systemChat "Tu viens de passer Niveau 2!";};
  20.     case (_xp <=380): {systemChat "Tu viens de passer Niveau 3!";};
  21.     case (_xp <=520): {systemChat "Tu viens de passer Niveau 4!";};
  22.     case (_xp <=700): {systemChat "Tu viens de passer Niveau 5!";call notif;call nv5;};
  23.     default {hint "probléme"};
  24. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top