if that kodiak thanks again.
what I wanted to know is if this form is well done or not
Code:
public override void OnActorCreated(int missionNumber, string shortName, AiActor actor)
{
base.OnActorCreated(missionNumber, shortName, actor);
if (actor is AiAircraft)
{
for (int i = 0; i < (actor as AiAircraft).Places(); i++ )
{
if ((actor as AiAircraft).Player(i) != null)
{
p[indice].Nombre = (actor as AiAircraft).Player(i).Name();
p[indice].Estado = "Vivo";
p[indice].Valor = 0; //por ahora no lo uso, va a ser implementado en otros para los defectos del avion segun las tirada de dados de rol
indice++;
}
}
}
}
I apologize for the inconvenience and misunderstanding, my English is very poor as well as my knowledge of programming, so I'm asking and reading everything I can to solve my doubts
mains to thank