
Originally Posted by
FlyHotel
Could you fix up the tents a bit? When you're inside the tent and move it or pick it up, it acts like you're still inside the tent and to one can see what you say until you unload the room.
I fixed pickup :) You can find new InteractorTent.cs from old post.
And moving fixed too...? I think
- - - Updated - - -

Originally Posted by
shamike
Ye it will work but you need to do alots of work to convert it to gte
Nah :D It took me... 5 secound? I changed two class name to GoldTree and fixed two method name?
Code:
int petID = -1;
string petName = "";
if (Params.Length > 1)
{
if (!int.TryParse(Params[1], out petID))
{
if (!int.TryParse(GoldTreeEnvironment.GetExternalText("cmd_pet_petid_" + Params[1]), out petID))
{
petID = -1;
}
}
}
if (petID < -1)
{
Session.SendNotification("Pet ID/name was invalid!");
return true;
}
else
{
petName = GoldTreeEnvironment.GetExternalText("cmd_pet_petname_" + petID);
if (petName == "cmd_pet_petname_" + petID)
{
Session.SendNotification("Pet ID/name was invalid!");
return true;
}
}
Session.GetHabbo().PetData = petID + " 0 #fff";
Session.SendNotification("You're now a " + (!string.IsNullOrEmpty(petName) ? petName : "pet") + ". Please reload this room to apply this!");
return true;