Quote:
Originally Posted by angelwings
Hello so im Trying to get pms and gms to be able to pk in 5165 source but Im not quite sure what to do I also copy and paste peoples post in but they dont work (probably cuz copy and paste xD ) nyway Im Trying to learn how to code and add peoples codes into the source im using
Also im trying to figure out how to make a pre-existing [PM] or [GM] into a normal account withought the account Deleting and the person having to start over, Im having no trouble making a none-pm/gm pre-existing account into a GM/PM but changing them back is the problem
If anyone would like to teach me how to code properly please PM 
Thanks in advance from,Tri-Edge[PM] aka angelwings
|
PM/GM can pk..
Search for this in character.cs
Code:
if(!MyClient.GM)
foreach (Character C in World.H_Chars.Values)
{
if (C.Alive && C != this)
{
if (MyMath.PointDistance(Loc.X, Loc.Y, C.Loc.X, C.Loc.Y) <= Dist)
if (C.PKAble(PKMode, this) && !SU.PlayerTargets.Contains(C) && !World.NoPKMaps.Contains(Loc.Map))
SU.PlayerTargets.Add(C, SU.GetDamage(C));
}
}
also delete the code.
now go into attack.cs and search for
Code:
if (PossChar != null)
if (GC.GM)
return;
and delete that too.
Hope it helped