Advertisement
idiotonastic

Untitled

Oct 5th, 2015
358
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. waitUntil {!isNull (findDisplay 46)};
  2. waitUntil {!dialog};
  3.  
  4. sleep 1;
  5.  
  6. if(getText(configFile >> "cfgWeapons" >> "windowlicker" >> "displayname") isEqualTo "")then{
  7. _att = format["[Hello %1!]",name player];
  8.  
  9. _separator1 = parseText "<br />------------------------<br />";
  10.  
  11. _image = "\ca\ui\textures\aus_flag.paa";
  12.  
  13. _headtxt = parsetext "<t shadow='2' size='3'align='center'color='#cf2e4e'>Welcome to The Olddogs: </t>";
  14.  
  15. _bodytxt = parsetext "<t shadow='2' size='1.75'align='center'color='#b0eb00'>@MAS18 @MasVehicles </t><br/><br/><t shadow='2'align='center' size='1.25'>These mods add a lot to the game! Make sure there named this</t><br/><t shadow='2'align='center'>You can continue to play on this server without them, but for a much better experience it's recommended you download them:</t>",
  16. parseText "<t shadow='2'size='1.1' >TheOldDogs Forum.</t><br/><a shadow='2'size='0.8'align='center' href='http://www.theolddogs.net/home'>http://www.theolddogs.net/home</a>",
  17. parseText "<t shadow='2'size='1.1' >TheOldDogs Twitter.</t><br/><a shadow='2'size='0.8'align='center' href='https://twitter.com/olddogsgaming'>https://twitter.com/olddogsgaming</a>",
  18. parseText "<t shadow='2'size='1.1' >TheOldDogs Steam Group.</t><br/><a shadow='2'size='0.8'align='center' href='http://steamcommunity.com/gid/103582791439390488'>http://steamcommunity.com/gid/103582791439390488</a>
  19. <br/><br/><t shadow='2'size='1.1'>Those addresses can be clicked for a direct link - make yourself know :0 </t><br/><br/><t shadow='2'align='center'size='1.75'color='#3d94af'>See you in game!</t>"
  20.  
  21. _txt = composeText [image _image, _headtxt , _separator1, _bodytxt];
  22.  
  23. _att hintC _txt;
  24.  
  25. _att hintC_arr_EH = findDisplay 46 displayAddEventHandler ["unload", {
  26. 0 = _this spawn {
  27. _this select 0 displayRemoveEventHandler ["unload", hintC_arr_EH];
  28. hintSilent "";
  29. };
  30. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement