03-03-2011, 03:01 AM
(03-02-2011, 07:48 AM)codename_B Wrote: Why not save the monetary values in an ini file like I'm doing? Then you can write one big plugin for area and store (and anything else that costs money)
The matter is not getting some values out of an ini file but rather reusing existing code functionality.
I don't want the same code of area checking in all plugins which need it.
The code is always the same and already live in AreaPlugin.
So just calling AreaPLugin:IsOwner(...) or AreaPlugin:GetArea(...) would be much easier and more efficient than reimplementing in new plugin.