open.mp
open.mp copied to clipboard
Improve camera mode validation
Now camera modes are validated this way: https://github.com/openmultiplayer/open.mp/blob/62a2fa95b36b73640a5b4bb330a1663d6d50adc9/Server/Source/player_pool.hpp#L867-L869
But:
- It should firstly consider that it's in range of 0..65
- The list of surely invalid camera modes related to aiming (so they could cause the same artifacts like derpcam and others) can be extended with 5, 39, 40, 43 and 52 values