Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Scroll Menu Beta by Leqz
- */
- hint parseText format["<t size='1.25' font='PuristaMedium' color='#11FF00'>LEQZ HOOK<br />LOADED !</t>"];
- menu0 = {
- removeAllActions player;
- player addAction ["SCROLL MENU",{}];
- player addAction ["BY LEQZ",{}];
- player addAction ["MONEY",{[]spawn menu1;}];
- player addAction ["GODMOD",{[]spawn menu2;}];
- player addAction ["AUTRE",{[]spawn menu3;}];
- };
- menu1 = {
- removeAllActions player;
- player addAction ["$0",{
- hint parseText format["<t size='1.25' font='PuristaMedium' color='#11FF00'>$0<br />Added by<br />Leqz Hook !</t>"];
- life_cash = 0;
- }];
- player addAction ["$1.000.000",{
- hint parseText format["<t size='1.25' font='PuristaMedium' color='#11FF00'>$1.000.000<br />Added by<br />Leqz Hook !</t>"];
- life_cash = 1023265;
- }];
- player addAction ["$5.000.000",{
- hint parseText format["<t size='1.25' font='PuristaMedium' color='#11FF00'>$5.000.000<br />Added by<br />Leqz Hook !</t>"];
- life_cash = 5001658;
- }];
- player addAction ["$10.000.000",{
- hint parseText format["<t size='1.25' font='PuristaMedium' color='#11FF00'>$10.000.000<br />Added by<br />Leqz Hook !</t>"];
- life_cash = 10017252;
- }];
- player addAction ["$15.000.000",{
- hint parseText format["<t size='1.25' font='PuristaMedium' color='#11FF00'>$15.000.000<br />Added by<br />Leqz Hook !</t>"];
- life_cash = 15010057;
- }];
- player addAction ["$30.000.000",{
- hint parseText format["<t size='1.25' font='PuristaMedium' color='#11FF00'>$30.000.000<br />Added by<br />Leqz Hook !</t>"];
- life_cash = 30010057;
- }];
- player addAction["BACK",{[]spawn menu0;}];
- };
- menu2 = {
- removeAllActions player;
- player addAction ["GODMOD ON",{
- hint parseText format["<t size='1.25' font='PuristaMedium' color='#11FF00'>Godmod<br />ON !</t>"];
- player allowDamage false;
- }];
- player addAction ["GODMOD OFF",{
- hint parseText format["<t size='1.25' font='PuristaMedium' color='#11FF00'>Godmod<br />OFF !</t>"];
- player allowDamage true;
- }];
- player addAction["BACK",{[]spawn menu0;}];
- };
- menu3 = {
- removeAllActions player;
- player addAction ["Teleportation",{
- hint parseText format["<t size='1.25' font='PuristaMedium' color='#11FF00'>Click on the map<br />to teleport !</t>"];
- 104 cutText ["","PLAIN DOWN",5];
- waitFor = true;
- ["teleportSelf","onMapSingleClick","vehicle player setPos [_pos select 0, _pos select 1,0]; 104 cutText ['','PLAIN DOWN',5]; waitFor = false;"] call BIS_fnc_addStackedEventHandler;
- waitUntil{!waitFor};
- ["teleportSelf","onMapSingleClick"] call BIS_fnc_removeStackedEventHandler;
- {player reveal _x}forEach nearestObjects [player,[],100];
- }];
- player addAction["BACK",{[]spawn menu0;}];
- };
- []spawn menu0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement