This is one way

Code:
if(vec_to_screen(player, camera)!=NULL)




3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB