The previous PKJaiLSystem, was not working.
Here is a fixed one.
If you got the other use this:
If you dont got the other use this:
I know i said i didnt release more, but this was a fix i posted in a thread, so i thought i would share!
Here is a fixed one.
If you got the other use this:
search for (in character.cs):
remove:
Search for:
find:
under put:
under the whole code put:
Now in general.cs find:
delete the whole code!
Code:
public void Revive(bool Tele)
Code:
General.Blackname();
Code:
public bool GetHitDie(uint Damage)
Code:
Alive = false;
Code:
GetJailed();
Code:
public void GetJailed() //For sending pkers in jail
{
if (PKPoints >= 100)
{
World.SendMsgToAll(Name + " have killed to much and been send to jail.", "SYSTEM", 2000);
Teleport(6000, 55, 55);
}
else if (PKPoints >= 30)
{
Random C = new Random();
int Nr = C.Next(1, 3);
if (Nr == 1)
{
World.SendMsgToAll(Name + " was captured, but got away from jail. Guard: We will get you!!", "SYSTEM", 2000);
}
if (Nr == 2)
{
World.SendMsgToAll(Name + " have killed to much and been send to jail.", "SYSTEM", 2000);
Teleport(6000, 55, 55);
}
if (Nr == 3)
{
World.SendMsgToAll(Name + " was captured, but got away from jail. Guard: We will get you!!", "SYSTEM", 2000);
}
}
}
Code:
public static void Blackname()
Search for in character.cs:
find:
under put:
under the whole code put:
Code:
public bool GetHitDie(uint Damage)
Code:
Alive = false;
Code:
GetJailed();
Code:
public void GetJailed() //For sending pkers in jail
{
if (PKPoints >= 100)
{
World.SendMsgToAll(Name + " have killed to much and been send to jail.", "SYSTEM", 2000);
Teleport(6000, 55, 55);
}
else if (PKPoints >= 30)
{
Random C = new Random();
int Nr = C.Next(1, 3);
if (Nr == 1)
{
World.SendMsgToAll(Name + " was captured, but got away from jail. Guard: We will get you!!", "SYSTEM", 2000);
}
if (Nr == 2)
{
World.SendMsgToAll(Name + " have killed to much and been send to jail.", "SYSTEM", 2000);
Teleport(6000, 55, 55);
}
if (Nr == 3)
{
World.SendMsgToAll(Name + " was captured, but got away from jail. Guard: We will get you!!", "SYSTEM", 2000);
}
}
}
I know i said i didnt release more, but this was a fix i posted in a thread, so i thought i would share!