Raised This Month: $51 Target: $400
 12% 

Check if user is in CAMERA_3RDPERSON mode


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
felhasznalo
AlliedModders Donor
Join Date: Aug 2015
Location: Hungary
Old 09-20-2020 , 03:54   Check if user is in CAMERA_3RDPERSON mode
Reply With Quote #1

Is there a way to check if a player is in 3rd person mode set by engine module set_view function?

Something like get_view(id) and it would return a CAMERA_* constant.
felhasznalo is offline
Rohanlogs
Senior Member
Join Date: Nov 2015
Old 09-20-2020 , 06:57   Re: Check if user is in CAMERA_3RDPERSON mode
Reply With Quote #2

I don't know if such a function exists but if you got the source code of the plugin that sets 3rd person mode you can just create a client boolean to check which camera they're using.
Like here https://forums.alliedmods.net/showthread.php?t=280234
__________________
Rohanlogs is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:23.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode