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

Solved Spectating info


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Desktop
AlliedModders Donor
Join Date: Sep 2009
Location: C:\Users\Default\
Old 07-31-2017 , 04:38   Spectating info
Reply With Quote #1

Hi, I've been searching but found nothing.
How can I print to the spectator, the info of the player he's spectating?
__________________
Massive Infection:: Piu-Games

Last edited by Desktop; 08-04-2017 at 04:21.
Desktop is offline
stephen473
Senior Member
Join Date: Jan 2017
Location: somewhere on earth
Old 07-31-2017 , 04:58   Re: Spectating info
Reply With Quote #2

https://forums.alliedmods.net/showthread.php?p=1271439

Have you tried this?
__________________
Also known as Hardy`.

Feel free to contact me if you have a private plugin request!

My Steam Profile | Discord: Hardy`#3792
stephen473 is offline
Desktop
AlliedModders Donor
Join Date: Sep 2009
Location: C:\Users\Default\
Old 07-31-2017 , 16:03   Re: Spectating info
Reply With Quote #3

The game os CS:GO, but that plugin shows you who is spectating you and not the way i need.
The hud i need is like zombie plague for AMX that used to show the info of the person you're spectating
__________________
Massive Infection:: Piu-Games
Desktop is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 07-31-2017 , 17:34   Re: Spectating info
Reply With Quote #4

Your asking in the scripting forum.

What is provided gives you the help you need to achieve what you've asked.

At least try to switch the details around and if you fail, post your code stating what the issue is.
__________________

Last edited by Neuro Toxin; 07-31-2017 at 17:36.
Neuro Toxin is offline
stephen473
Senior Member
Join Date: Jan 2017
Location: somewhere on earth
Old 07-31-2017 , 18:53   Re: Spectating info
Reply With Quote #5

Quote:
Originally Posted by Neuro Toxin View Post
Your asking in the scripting forum.

What is provided gives you the help you need to achieve what you've asked.

At least try to switch the details around and if you fail, post your code stating what the issue is.
+1
__________________
Also known as Hardy`.

Feel free to contact me if you have a private plugin request!

My Steam Profile | Discord: Hardy`#3792
stephen473 is offline
Desktop
AlliedModders Donor
Join Date: Sep 2009
Location: C:\Users\Default\
Old 07-31-2017 , 21:49   Re: Spectating info
Reply With Quote #6

Solved, just did something like this
PHP Code:
#define SPECMODE_FIRSTPERSON         4
#define SPECMODE_3RDPERSON             5

int iSpecMode GetEntProp(player.idProp_Send"m_iObserverMode");

if (
iSpecMode == SPECMODE_FIRSTPERSON || iSpecMode == SPECMODE_3RDPERSON){
        
int iTarget GetEntPropEnt(player.idProp_Send"m_hObserverTarget");
                Print 
here

__________________
Massive Infection:: Piu-Games

Last edited by Desktop; 07-31-2017 at 21:49.
Desktop 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 11:29.


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