Advertisement
Guest User

Untitled

a guest
Sep 29th, 2015
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. drunkenport = {
  2. testteleport = false;
  3. openmap [true,false];
  4. titletext ["auf der Karte den Teleportpunkt anklicken","plain"];
  5. onMapSingleClick "onMapSingleClick ''; teleportpos = _pos; testteleport = true";
  6.  
  7. waitUntil {sleep 1; (!visiblemap || testteleport)};
  8. if (!testteleport) exitWith
  9. {
  10. teleportpos = nil;
  11. hint parseText format["<t size='1.25' color='#ff0000'>Teleport abgebrochen</t>"];
  12. titletext ["","plain"];};
  13. {_x setPos teleportpos} forEach units group player;
  14. titletext ["","plain",0.2];
  15. hint parseText format["<t size='1.25' color='#208000'>Teleport erfolgreich</t>"];
  16. openmap [false,false]};
  17.  
  18. player addaction [format ["<t color='#F0E68C'>Teleport</t>"], drunkenport];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement