Hey, guys!
I am pretty new in oxide eco system :P But I tried to find solution, and with no success.
The problem is in teams. So, I have "RelationshipManager.PlayerTeam" object "team", and when I calling team.Disband() - it looks good, on server team is disbanded (removed from teams list), but on client side nothing changed. Player UI wasn't updated, and there is teammates list with button "Leave". Of course when player trying to leave this team after, it doesn't work cause team are disbanded already.
The question is - is it possible to update team information on Client side somehow? Or probably there is some another, correct way how to disband teams?
Thank you (;
I am pretty new in oxide eco system :P But I tried to find solution, and with no success.
The problem is in teams. So, I have "RelationshipManager.PlayerTeam" object "team", and when I calling team.Disband() - it looks good, on server team is disbanded (removed from teams list), but on client side nothing changed. Player UI wasn't updated, and there is teammates list with button "Leave". Of course when player trying to leave this team after, it doesn't work cause team are disbanded already.
The question is - is it possible to update team information on Client side somehow? Or probably there is some another, correct way how to disband teams?
Thank you (;