Quote:
Originally Posted by ZaltysZ
Instead of;
Code:
if (aircraft.Name() == GamePlay.gpPlayer().Place().Name())
try
Code:
if (aircraft == GamePlay.gpPlayer().Place())
By the way, GamePlay.gpPlayer() returns player of offline mission. This won't return a client player in MP, so if you are doing MP mission, this won't work.
|
Thanks guys.
It was for MP and for a BirthPlace so a double fail
btw I had it report aircraft.Name() and GamePlay.gpPlayer().Place().Name() and they were the same string so 'If == ' should have worked ok.