Raised This Month: $32 Target: $400
 8% 

Get Spectator's Subject


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Casio
Member
Join Date: Jan 2005
Old 04-09-2006 , 11:59   Get Spectator's Subject
Reply With Quote #1

Hi guys, quick scripting question for you all:

Is there a means of determing which player a spectator is currently viewing? if yes, please tell me how

Much thankx in advance
Casio is offline
p3tsin
Senior Member
Join Date: Sep 2005
Location: Finland
Old 04-10-2006 , 09:23  
Reply With Quote #2

Code:
register_event("SpecHealth2", "spect_target", "bd") .. public spect_target(id) {     new name[32], target = read_data(2)     get_user_name(target, name,31)     client_print(id,print_chat, "You are now spectating to %s", name)     return PLUGIN_CONTINUE }
__________________
plop
p3tsin is offline
Casio
Member
Join Date: Jan 2005
Old 04-21-2006 , 22:09  
Reply With Quote #3

This is perfect thankyou
Casio is offline
Reply


Thread Tools
Display Modes

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 21:54.


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