Quote:
Originally Posted by TheEnlightenedFlorist
I swear I remember this bug, but I just went through every German aircraft with more than one position and couldn't reproduce it. The engine stuttered a little (could just be a sound bug), but the temperatures remained the same.
|
I think you have it solved with the following code. Did you check it on a dedicated server? I included it in my script too but did not check yet as struggling with ground attacks code atm.
Code:
//check if a player is in any of the "places"
for (int i = 0; i < aircraft.Places(); i++)
if (aircraft.Player(i) != null)
return false;
Does aircraft.Player() return a player name located inside an AiAircraft?
Do you know when RemotePlayer has to be used instead of Player?