spoko miło że mogłem pomóc 🙂
Zamykam temat i dodaje tag rozwiązane
Temat rozwiązany blokuje możliwość pisania dodaje tag rozwiązane
void OnPlayerTakeDamage(PlayerSession session, EntityEffectSourceData dataSource)
{
if (session == null || dataSource == null)
{
return;
}
else
{
EntityStats stats = session.WorldPlayerEntity.GetComponent<EntityStats>();
string name = session.Name;
string tmpName = GetNameOfObject(dataSource.EntitySource);
if (tmpName != string.Empty && !tmpName.Contains("Creatures"))
{
string KillerName = tmpName.Remove(tmpName.Length - 3);
Clan myClan = getClan(session);
if (myClan != null && myClan.clanff == 0)
{
List<PlayerSession> clanSessions = getMembersOnline_byClan(myClan);
foreach (PlayerSession ses in clanSessions)
{
if (ses.Name == KillerName && ses.Name != session.Name)
{
dataSource.Value = 0;
Singleton<AlertManager>.Instance.GenericTextNotificationServer("Do not hurt your teammate!", getSession(KillerName).Player);
return;
}
}
}
return;
}
return;
}
}
wystarczy że zastąpie orginał tym co napisał klauz24???
@m10dy Jeśli nie czujesz się na siłach do edycji kodu możęsz wysłac plugin na forum i ktoś z nas go edytuje
@Kub41Tap Ty masz co edytować.
nie moge wysłać go na forum. zrobię to sam :P:P:P
@youhosi Zaraz biorę się do dalszej aktualizacji
@m10dy jakiś problem z wysłaniem go na forum ?
plugin za dużo waży
to samo
Pakujesz go w zip?
nie ale juz go podmieniłem
I błąd już się nie wyświetla?
za duzo ludzi aby zresetowac serwer
JAKA JEST KOMENDA NA USUWANIE PRZEDMIOTÓW Z ZIEMI ????
1 problem = 1 temat
to jest hw clan do przerobienia na wersje bez błędu
0_1542545968780_HWClans.zip
@m10dy trzymaj 0_1542545943139_HWClans.zip