Jump to content
Tory Xiao

Make all player units editable for all Zeus

Recommended Posts

Where should I put this script? In initServer or what??

if isServer then
{
	[] spawn
	{
		while {true} do
		{
			{
				_x addCuratorEditableObjects
				[
				entities [[],["Logic"], true /* Include vehicle crew */,true /* Exclude dead bodies */],
				true
				];
			} count allPlayers;
			sleep 60; // Change to whatever fits your needs
		};
	};
};

 

Share this post


Link to post
Share on other sites
1 hour ago, pierremgi said:

addCuratorEditableObjects applies on curators not players. The former code was for allCurators  not allPlayers.

Im an idiot, I just figured out that I should replace entities [[],["Logic"], true ,true] with allPlayers instead of allCurators  

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×