Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. ((findDisplay 12) displayCtrl 51) ctrlAddEventHandler ["Draw", "
  2. systemChat ""l0aded"";
  3. if (isNil ""fadbabydabd"") then {
  4. fadbabydabd = true;
  5. systemChat ""Should be good"";
  6.  
  7. _button = (findDisplay 12) ctrlCreate [""RscButton"",-1];
  8. dnaudbaubda = (findDisplay 12) ctrlCreate [""RscEdit"",14];
  9.  
  10. _textbox = dnaudbaubda;
  11. _width = (safeZoneW/6);
  12. _height = (safeZoneH/18);
  13. _x = safeZoneX;
  14. _y_1 = safeZoneY;
  15. _y_2 = _y_1 + _height;
  16.  
  17.  
  18. _button ctrlSetText ""e_x_3c_ut3"";
  19. _button ctrlSetPosition [_x,_y_2,_width,_height];
  20. _textbox ctrlSetPosition [_x,_y_1,_width,_height];
  21. _button ctrlSetBackgroundColor [0,0,0,0.5];
  22. _textbox ctrlSetBackgroundColor [0,0,0,0.75];
  23. _textbox ctrlSetTextColor [1,1,1,1];
  24. _button ctrlSetTextColor [1,1,1,1];
  25.  
  26. _button buttonSetAction ""_meme = call compile (ctrlText dnaudbaubda)"";
  27. _button ctrlCommit 0;
  28. _textbox ctrlCommit 0;
  29. };
  30. "];
  31. (finddisplay 46) closeDisplay 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement