AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Get Spectator's Subject (https://forums.alliedmods.net/showthread.php?t=26797)

Casio 04-09-2006 11:59

Get Spectator's Subject
 
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 :D

Much thankx in advance :wink: :)

p3tsin 04-10-2006 09:23

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 }

Casio 04-21-2006 22:09

This is perfect thankyou :D :D :D


All times are GMT -4. The time now is 16:34.

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