Skip to content

Commit

Permalink
exeption for teleport box limiting for 5 or less players
Browse files Browse the repository at this point in the history
  • Loading branch information
john681611 committed Feb 26, 2019
1 parent 48766e5 commit e0bcadb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common/Client/teleport.sqf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
_caller = _this select 0;

if((["TelePortR3F", 0] call BIS_fnc_getParamValue == 0) && isForcedWalk player) exitWith {hint "Teleporting with boxes is disabled";};
if((["TelePortR3F", 0] call BIS_fnc_getParamValue == 0) && isForcedWalk player && (count allPlayers) > 5) exitWith {hint "Teleporting with boxes is disabled.";};

_selected = {
_idx = _x find _caller;
Expand Down
5 changes: 3 additions & 2 deletions common/Server/Info Boards/WelcomeMessage.sqf
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
"Welcome to resistance" hintC [
"Supplies are low use them wisely.",
"Your mission is to clear out the surrounding towns and scavenge arms and equipment for the resistance.",
"All you have is what you start with only the starter vehicles respawn when destroyed.",
"Teleport is available at the flag.",
"All you have is what you start with only the starter vehicles respawn when destroyed. Store Captured Supplies and Vehicles at base.",
"Teleport is available at the Tele-porta-loo.",
"Excess Gear can be stored at the storage Terminals (looks like ATM's at base)",
"Tansport boxes to base by vehicle (Teleporting with Boxes allowed when player count low).",
"Check the 'Mission Brief' for more information.",
"For performance Dynamic simulation is on ranging from 1.5k to 3k, damage is done but it will not take affect untill activation.",
"",
Expand Down

0 comments on commit e0bcadb

Please sign in to comment.