Jump to content
Sign in to follow this  
gordonbay

Detect players playing as seagull

Recommended Posts

Some times people spaw as seagull on my server, i need a script that detect people stuck on seagull body like this:

 

 

if player is a seagull {

//do something

}

 

If this is not possible, what would help me is this:

if player connected, is on the game for more than 1 second, 100% sure he finished his loading {
//do this
};

e34gYVb.jpg

Share this post


Link to post
Share on other sites

i'm not 100% sure if this would work but fixed it for most people

[] spawn {
		if (!(isServer)) exitWith {};
		while {true} do
		{
			{
				if (count units _x==0) then {
					deleteGroup _x;
				};
			} forEach allGroups;
			sleep 5;
		};
	};
  • Like 1

Share this post


Link to post
Share on other sites

 

i'm not 100% sure if this would work but fixed it for most people

[] spawn {
		if (!(isServer)) exitWith {};
		while {true} do
		{
			{
				if (count units _x==0) then {
					deleteGroup _x;
				};
			} forEach allGroups;
			sleep 5;
		};
	};

 

This code worked. Ty.

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
Sign in to follow this  

×