Files
DayZ-Epoch/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/rules.sqf
ebaydayz 4bd9a9aa0b Update public variables
It makes no sense to rename the identical DayZ PVs to have an E in their
name. I don't see any good reason it was done in the first place. All it
accomplishes is breaking script compatibility between the two mods and
requiring different publicvariable.txt filters. The only time it makes
sense is for custom Epoch variables that aren't used in vanilla.

All admins have to do to update custom scripts is swap the names
according to the change log.

Note I've submitted a pull request to replace PVDZ_veh_Save with
PVDZ_obj_Save in official too because they are duplicates.
2016-03-18 21:39:22 -04:00

32 lines
1.1 KiB
Plaintext

private ["_messages", "_timeout"];
if (isServer) exitWith {};
waitUntil { uiSleep 1; !isNil ("PVDZ_plr_LoginRecord") };
_messages = [
["DayZ Epoch", "Welcome "+(name player)],
["World", worldName],
["Teamspeak", "Some ts info"],
["Website/Forums", "some website info"],
["Server Rules", "Duping, glitching or using any<br />exploit will result in a<br />permanent ban."],
["Server Rules", "No Talking in side."],
["Server Rules", "Hackers will be banned permanently<br />Respect others"],
["News", "Some random New info!<br />RandomNews<br />"]
];
_timeout = 5;
{
private ["_title", "_content", "_titleText"];
uiSleep 2;
_title = _x select 0;
_content = _x select 1;
_titleText = format[("<t font='TahomaB' size='0.40' color='#a81e13' align='right' shadow='1' shadowColor='#000000'>%1</t><br /><t shadow='1'shadowColor='#000000' font='TahomaB' size='0.60' color='#FFFFFF' align='right'>%2</t>"), _title, _content];
[
_titleText,
[safezoneX + safezoneW - 0.8,0.50], //DEFAULT: 0.5,0.35
[safezoneY + safezoneH - 0.8,0.7], //DEFAULT: 0.8,0.7
_timeout,
0.5
] spawn BIS_fnc_dynamicText;
uiSleep (_timeout * 1.1);
} forEach _messages;