Halvhjearne
Valued Member!
i dont use plot for life on my server but i do use plot management system by zupa, so i thought i would edit the code a bit to allow my players to spawn on their plot poles ... heres what i came up with:
thought someone else might want this ...
edit:
by default zupas plot mod allows you to add/remove anyone to the pole (including owner), i shared my "fix" for removing owners from plotpoles wich also prevents players from changing who can spawn where.
Code:
if (_spawnNearPlot) then {
_poles = (getMarkerPos "center") nearEntities ["Plastic_Pole_EP1_DZ",_mapRadius];
{
_friends = _x getVariable ["plotfriends", []];
if (_puid == (_friends select 0)select 0) exitWith {
uiNamespace setVariable ["myPlotPos",[_x]];
};
} count _poles;
};
thought someone else might want this ...
edit:
by default zupas plot mod allows you to add/remove anyone to the pole (including owner), i shared my "fix" for removing owners from plotpoles wich also prevents players from changing who can spawn where.
Last edited: