iMPeX
June 29th, 2010, 01:07
First off, go into your client.java, server sided.
Next, find...
case 132:
Right below that, add this...
if(objectID == ####)
{
if(donator == 1)
{
toX = ##;
toY = ##;
sM("Example Text.");
} else
{
sM("You must be a donar to use this portal.");
}
}
Of course, change #### to the portal ID.
Also, changing the ## after toX and toY to your X and Y coords.
To make a portal staff only, add this...
if(objectID == ####)
{
if(playerRights >= 1)
{
toX = ##;
toY = ##;
sM("Example Text.");
} else
{
sM("You must be a staff member to use this portal.");
}
Again, changing all that is necessary.
Thanks
iMPeX
Next, find...
case 132:
Right below that, add this...
if(objectID == ####)
{
if(donator == 1)
{
toX = ##;
toY = ##;
sM("Example Text.");
} else
{
sM("You must be a donar to use this portal.");
}
}
Of course, change #### to the portal ID.
Also, changing the ## after toX and toY to your X and Y coords.
To make a portal staff only, add this...
if(objectID == ####)
{
if(playerRights >= 1)
{
toX = ##;
toY = ##;
sM("Example Text.");
} else
{
sM("You must be a staff member to use this portal.");
}
Again, changing all that is necessary.
Thanks
iMPeX