ItsMods

Full Version: Admin Spectator
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(03-30-2012, 22:58)yamraj Wrote: [ -> ]
(03-29-2012, 23:43)atenziono Wrote: [ -> ]
CSHARP Code
  1. using System;
  2. using System.Collections.Generic;
  3. using Addon;
  4.  
  5.  
  6. namespace plugin_test
  7. {
  8.  
  9. public class plugin_test : CPlugin
  10. {
  11. public override void OnPlayerConnect(ServerClient Client)
  12. {
  13. if (Client.XUID == "adminsxuid")
  14. {
  15. Client.SpectateType = SpectateTypes.AllTeams;
  16. }
  17. }
  18. }
  19. }
It will not work OnPlayerConnect.
I haven't tested it. does it work with OnPlayerSpawned() ?!
tnx in advance
i Will Test this
Really need this Sad as well..
sorry for delay , im pretty busy with my university , testing this is my first priority. Tongue
Did anyone ever test this to see if it works? Would be a nice feature to have for servers not running promod.
I am very interested in a plugin like this. When free spectate is on, people just take advantage of it.

Has anyone got something like this working?

A plugin like this would be revolutionary. xd
Pages: 1 2