From a3a91d4f45b22fd487ecbc954ad979be5d03efdd Mon Sep 17 00:00:00 2001 From: hybrid Date: Thu, 11 Jun 2026 19:38:09 +0300 Subject: init --- Client/PVFunctions/CanJoin.sqf | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Client/PVFunctions/CanJoin.sqf (limited to 'Client/PVFunctions/CanJoin.sqf') diff --git a/Client/PVFunctions/CanJoin.sqf b/Client/PVFunctions/CanJoin.sqf new file mode 100644 index 0000000..ad90ed8 --- /dev/null +++ b/Client/PVFunctions/CanJoin.sqf @@ -0,0 +1,7 @@ +Private ['_canjoin','_name']; +_name = _this select 0; +_canjoin = _this select 1; + +if (!_canjoin && vehicleVarName player != _name) then {_canjoin = true}; + +['WFBE_P_CANJOIN',_canjoin,true] Call SetNamespace; \ No newline at end of file -- cgit v1.3.1