So everything was fine, doing the challenges fine. But for this:
GetViewportSize(ViewPortSizeX, ViewPortSizeY);
It is returning 0,0 every time. I gather from Google this is accessed via the local player, but I am not sure what I did not set up correctly for me to not have the local player correct.
Anyone got any ideas?