I will check if a Entity is in the LookVector of a player.
Is this possible for MCServer?
And give it a function to get the NearbyEntities?
Every cEntity instance has a GetLookVector() function that returns the look vector. However, you will need to implement finding entities being looked at yourself.
Okay, this don't belong to this but i will ask for this here:
I become this error on compiling ("unresolved external symbol") when i will make a boolean static.
static bool m_test;
Edit: I added this to a new file.. maybe i need to include something or so?
If you add a file you usually need to rerun cmake to regenerate the makefiles/projectfiles.
If it's a member variable you also need to define it in a cpp file. Google should also help a lot with compiler errors

After i done "cmake ." the same error.
Edit: I didn't see FakeTruth's comment.
(02-15-2014, 04:27 AM)FakeTruth Wrote: [ -> ]If it's a member variable you also need to define it in a cpp file. Google should also help a lot with compiler errors 
I made it static.. i can't define it in the constrcutor when it is static.
I didn't find good answers...