Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (getplayerUID player in ["76561198030072519","76561198122912324","76561198208681004"]) then
- {
- player addAction ["<t color='#0EB7F0'>Schwimmen</t>", {
- []spawn {
- if (player getvariable "swim") exitwith {};
- player setvariable ["swim",true,true];
- _pfeil1 = "Sign_Arrow_Large_F" createvehicle position player;
- _pfeil1 attachTo [player, [0, 0.2, 2.7] ];
- _stab = "Land_Camping_Light_F" createvehicle position player;
- _stab attachTo [player, [0, 0.2, 2.71] ];
- while {player getvariable "swim"} do {if (animationState player != "AswmPercMrunSnonWnonDf") then {player playmove "AswmPercMrunSnonWnonDf"};};
- };
- }];
- player addAction ["<t color='#FF0000'>Stop</t>", {
- [] spawn {
- if (!(player getvariable "swim")) exitwith {};
- player setvariable ["swim",false,true];
- player switchmove "";
- {
- deletevehicle _x;
- }foreach nearestObjects[player,["Sign_Arrow_Large_F","Land_Camping_Light_F"],5];
- };
- }];
- player addaction ["<t color='#FF0000'>Menü entfernen</t>",{[]spawn {if (player getvariable "swim") exitwith {}; removeallactions player;};}];
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement