player2_dz

Untitled

Nov 2nd, 2013
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.46 KB | None | 0 0
  1. waituntil {!isnull (finddisplay 46)}; // Makes the script start when player is ingame
  2. sleep 15; // wait 15 before the welcome message starts (in seconds)
  3.  
  4. _role1 = "Welcome To DayZ Special Operations";
  5. _role1names = ["We Hope You Enjoy Our Mod"];
  6. _role2 = "DayZ Special Ops Devs And Mods";
  7. _role2names = ["xDeejayCrazyx","Sparrow","Benno","RebelRicco","Mayhem","Nobody"];
  8. _role3 = "DayZSO WEBSITE";
  9. _role3names = ["www.dayzspecialops.com"];
  10. _role4 = "Join DayZSO's Teamspeak To Speak With The Devs";
  11. _role4names = ["@ ts3.dayzspecialops.com"];
  12. _role5 = "Special Thanks";
  13. _role5names = ["DayZSO Community", "Bohemia Interactive", "OpenDayZ.net", "ArmAholic.com","Hortenplotz","Player2","Gorsy"];
  14.  
  15. {
  16.   sleep 2;
  17.     _memberFunction = _x select 0;
  18.     _memberNames = _x select 1;
  19.     _finalText = format ["<t size='0.55' color='#ffffff' align='left'>%1<br /></t><t size='0.1'><br /></t>", _memberFunction];
  20.     _finalText = _finalText + "<t size='0.45' color='#ffffff' align='left'>";
  21.     {_finalText = _finalText + format ["%1<br />", _x]} forEach _memberNames;
  22.     _finalText = _finalText + "</t>";
  23.     _onScreenTime = 1 + (((count _memberNames) - 1) * 0.5);
  24.     [
  25.         _finalText,
  26.         [safezoneX + 0.01],
  27.         [safezoneY + 0.01],
  28.         _onScreenTime,
  29.         0.5
  30.     ] spawn BIS_fnc_dynamicText;
  31.     sleep (_onScreenTime);
  32. } forEach [
  33.     [_role1, _role1names],
  34.     [_role2, _role2names],
  35.     [_role3, _role3names],
  36.     [_role4, _role4names],
  37.     [_role5, _role5names]// Keep this one in mind, NO COMMA on the last role
  38. ];
Advertisement
Add Comment
Please, Sign In to add comment