Esx_property exclusive ownership

Hi,
i´m working over esx_property so one apartment is only for one player.
I get it working on the restart of the server. I mean when the server is rebooted the house that have an owner only appears to the owner (blip in minimap and marker in the door)
BUT
if during the session i free that house or a player buy a house it doesnt get updated to everyone. In the case of selling/leaving my house I cant see the marker but i see the blip.
I guess that it is because the data of the properties are loaded in Config.properties when server starts. It´s possible to “edit” a variable that is in a Config.lua file? If possible can it be updated to all the server, not just the person who leave/buy a house?
Thanks for reading. Every advice it´s wellcome.

I gave up. I ended doing the easy way. I dont update the blips and markers. Only in the reboot

Maybe trigger a resource restart once a player sells his property?

how can it be done? @Th3Cha0s

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.