How would I make this code world side so that the world can see the firework or whatever effect i'm doing?
Code:
if (Cmd[0] == "/effect")
{
Game.World.Effect = Cmd[1];
foreach (Game.Character Player in Game.World.H_Chars.Values)
try
{
Player.MyClient.AddSend(Packets.String(Player.EntityID, 10, Game.World.Effect));
}
catch { }
}