04-06-2012, 21:38
(03-30-2012, 22:58)yamraj Wrote:I haven't tested it. does it work with OnPlayerSpawned() ?!(03-29-2012, 23:43)atenziono Wrote:It will not work OnPlayerConnect.CSHARP Code
using System; using System.Collections.Generic; using Addon; namespace plugin_test { public class plugin_test : CPlugin { public override void OnPlayerConnect(ServerClient Client) { if (Client.XUID == "adminsxuid") { Client.SpectateType = SpectateTypes.AllTeams; } } } }
tnx in advance