• Error with Serve (Eye trace)
    4 replies, posted
solved
Maybe the LocalPlayer is called too early?
What do you mean too early?
Perhaps try using a hook rather than overriding the entire function [editline]12th March 2016[/editline] Also, by 'too early' he means that LocalPlayer might not be set before this code was called (I think it gets set once the client initializes)
Regardless, if you look at their code, you'll see PostDrawTranslucentRenderables returns if LocalPlayer is not valid. That's why I don't understand this error, unless GetEyeTrace was completely removed from the player's metatable, or LocalPlayer was overwritten. Even if by some miracle it got past IsValid, the error would be different.
Sorry, you need to Log In to post a reply to this thread.