Advertisement
Guest User

Untitled

a guest
Apr 26th, 2017
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 2.63 KB | None | 0 0
  1. /*
  2. Scroll Menu Beta by Leqz
  3. */
  4.  
  5. hint parseText format["<t size='1.25' font='PuristaMedium' color='#11FF00'>LEQZ HOOK<br />LOADED !</t>"];
  6.  
  7.  
  8. menu0 = {
  9.     removeAllActions player;
  10.     player addAction ["SCROLL MENU",{}];
  11.     player addAction ["BY LEQZ",{}];
  12.     player addAction ["MONEY",{[]spawn menu1;}];               
  13.     player addAction ["GODMOD",{[]spawn menu2;}];
  14.     player addAction ["AUTRE",{[]spawn menu3;}];
  15. };
  16. menu1 =  {
  17.     removeAllActions player;
  18.     player addAction ["$0",{
  19. hint parseText format["<t size='1.25' font='PuristaMedium' color='#11FF00'>$0<br />Added by<br />Leqz Hook !</t>"];
  20. life_cash = 0;
  21. }];
  22.     player addAction ["$1.000.000",{
  23. hint parseText format["<t size='1.25' font='PuristaMedium' color='#11FF00'>$1.000.000<br />Added by<br />Leqz Hook !</t>"];
  24. life_cash = 1023265;
  25. }];
  26.     player addAction ["$5.000.000",{
  27. hint parseText format["<t size='1.25' font='PuristaMedium' color='#11FF00'>$5.000.000<br />Added by<br />Leqz Hook !</t>"];
  28. life_cash = 5001658;
  29. }];
  30.     player addAction ["$10.000.000",{
  31. hint parseText format["<t size='1.25' font='PuristaMedium' color='#11FF00'>$10.000.000<br />Added by<br />Leqz Hook !</t>"];
  32. life_cash = 10017252;
  33. }];
  34.     player addAction ["$15.000.000",{
  35. hint parseText format["<t size='1.25' font='PuristaMedium' color='#11FF00'>$15.000.000<br />Added by<br />Leqz Hook !</t>"];
  36. life_cash = 15010057;
  37. }];
  38.     player addAction ["$30.000.000",{
  39. hint parseText format["<t size='1.25' font='PuristaMedium' color='#11FF00'>$30.000.000<br />Added by<br />Leqz Hook !</t>"];
  40. life_cash = 30010057;
  41. }];
  42.     player addAction["BACK",{[]spawn menu0;}];
  43. };
  44. menu2 =  {
  45.     removeAllActions player;
  46.     player addAction ["GODMOD ON",{
  47. hint parseText format["<t size='1.25' font='PuristaMedium' color='#11FF00'>Godmod<br />ON !</t>"];
  48. player allowDamage false;
  49. }];
  50.     player addAction ["GODMOD OFF",{
  51. hint parseText format["<t size='1.25' font='PuristaMedium' color='#11FF00'>Godmod<br />OFF !</t>"];
  52. player allowDamage true;
  53. }];
  54.     player addAction["BACK",{[]spawn menu0;}];
  55. };
  56. menu3 =  {
  57.     removeAllActions player;
  58.    
  59. player addAction ["Teleportation",{
  60. hint parseText format["<t size='1.25' font='PuristaMedium' color='#11FF00'>Click on the map<br />to teleport !</t>"];
  61. 104 cutText ["","PLAIN DOWN",5];
  62.     waitFor = true;
  63.     ["teleportSelf","onMapSingleClick","vehicle player setPos [_pos select 0, _pos select 1,0]; 104 cutText ['','PLAIN DOWN',5]; waitFor = false;"] call BIS_fnc_addStackedEventHandler;
  64.     waitUntil{!waitFor};
  65.     ["teleportSelf","onMapSingleClick"] call BIS_fnc_removeStackedEventHandler;
  66.    
  67. {player reveal _x}forEach nearestObjects [player,[],100];
  68. }];
  69.  
  70.  
  71.     player addAction["BACK",{[]spawn menu0;}];
  72. };
  73. []spawn menu0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement