Help/size command?

Posts 1–5 of 5 · Page 1 of 1
/size command?
Hey guys, so I'm trying to get a working /size command, and the closest I've gotten to it was by using the Realm Resolution source, but it is buggy. The command works well for the most part and my character does get resized, but whenever I view my character from a certain angle or shoot my weapon, my size appears to be set back to normal. Any fixes? Here is the code :

internal class SizeCommand : Command
{
public SizeCommand() : base("size", 1) { }
protected override bool Process(Player player, RealmTime time, string[] args)
{
player.Size = int.Parse(args[0]);
player.UpdateCount++;
player.SendInfo("You have been resized!");
return true;
}
}

- - - Updated - - -

/solve thanks to Mike <3
Quote Originally Posted by Narwallz View Post
Hey guys, so I'm trying to get a working /size command, and the closest I've gotten to it was by using the Realm Resolution source, but it is buggy. The command works well for the most part and my character does get resized, but whenever I view my character from a certain angle or shoot my weapon, my size appears to be set back to normal. Any fixes? Here is the code :

internal class SizeCommand : Command
{
public SizeCommand() : base("size", 1) { }
protected override bool Process(Player player, RealmTime time, string[] args)
{
player.Size = int.Parse(args[0]);
player.UpdateCount++;
player.SendInfo("You have been resized!");
return true;
}
}

- - - Updated - - -

/solve thanks to Mike <3
Hey Whats the fixed Code?
Quote Originally Posted by Magiertoasti View Post
Hey Whats the fixed Code?
Some fixes in client ;3
Quote Originally Posted by sebastianfra12 View Post
Some fixes in client ;3
And Where? could your tell it to me ?
Quote Originally Posted by sebastianfra12 View Post
Some fixes in client ;3
Could you tell what are those fixes?
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us