MrDj200

Untitled

Dec 10th, 2015
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. _uid = getPlayerUID player;
  2. if (_uid == "76561198053995177") then {
  3. hint "SCRIPT WIRD GEDINGST!";
  4. _markerPosBox = "tempPosBox"; //"tempPosBox" ist der Marker, wo die Box hin soll
  5. _ammobox = funkKiste; //"funkKiste" ist die Box um die es geht
  6.  
  7. _stdPosBox = getPos _ammobox;
  8. _newPosBox = getMarkerPos _markerPosBox;
  9. _ammoboxAction = player addAction["Toggle Box", {
  10. if ( getPos _ammobox == _stdPosBox ) then{
  11. _ammobox setPos _newPosBox;
  12. }else{
  13. _ammobox setPos _stdPosBox;
  14. };
  15. }];
  16.  
  17. };
Advertisement
Add Comment
Please, Sign In to add comment