idk , i think i did everything right, but it didnt work , So if any 1 wanna look at what i did to c if there is some thing wrong to tell me
and . . . .
and . . . .
PS : am a nooby c# learner and Making This Server just For educational purposes , So plz Dont Flame me sayin , WTF noobs r tryin to make Server GO GET A LIFE! Cuz i do have 1 Already , c ya Guys
Code:
public void Revive(bool Tele) { if (Alive) return; if (Tele) { foreach (ushort[] revp in DataBase.RevPoints) { if (revp[0] == LocMap) { Stamina = 100; Teleport(revp[1], revp[2], revp[3]); break; } } }
Code:
} CurHP = MaxHP; Alive = true; MyClient.SendPacket(General.MyPackets.Status1(UID, 0)); MyClient.SendPacket(General.MyPackets.Status3(UID)); MyClient.SendPacket(General.MyPackets.Vital(UID, 26, GetStat())); MyClient.SendPacket(General.MyPackets.CharacterInfo(this)); SendEquips(false); BlueName = false; MyClient.SendPacket(General.MyPackets.Vital(UID, 26, GetStat())); Stamina = 100; MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina)); World.UpdateSpawn(this); DeathSent = false; }
Code:
case 94: { MyChar.Revive(true); MyChar.Stamina = 100; break; }