kingpapawawa Posted April 26, 2017 Report Share Posted April 26, 2017 There a simple way to ignore the DZE_NoBuildNear if you match an id, maybe in DZE_PlotManagementAdmins? Link to comment Share on other sites More sharing options...
0 kingpapawawa Posted April 26, 2017 Author Report Share Posted April 26, 2017 Answered my own question, tested and working, did not know i could do this in init. if((getPlayerUID player) in DZE_PlotManagementAdmins) then { DZE_NoBuildNearDistance = 0; DZE_SafeZoneNoBuildDistance = 0; } else { DZE_NoBuildNearDistance = 500; DZE_SafeZoneNoBuildDistance = 1000; }; juandayz and DieTanx 2 Link to comment Share on other sites More sharing options...
0 kingpapawawa Posted May 6, 2017 Author Report Share Posted May 6, 2017 this seems to work if an admin is first to log on after restart and not if a normal user logs in first. Link to comment Share on other sites More sharing options...
0 salival Posted May 6, 2017 Report Share Posted May 6, 2017 On 5/6/2017 at 8:26 PM, kingpapawawa said: this seems to work if an admin is first to log on after restart and not if a normal user logs in first. Expand if this is in your init.sqf or similar or your custom compiles this will work fine. Here's one I have similar: if (getPlayerUID player in DZE_PlotManagementAdmins || {getPlayerUID player in DZE_DoorManagementAdmins}) then {DZE_BuildingLimit = 750;}; Link to comment Share on other sites More sharing options...
0 Relentless Posted May 6, 2017 Report Share Posted May 6, 2017 On 5/6/2017 at 10:40 PM, salival said: if this is in your init.sqf or similar or your custom compiles this will work fine. Here's one I have similar: if (getPlayerUID player in DZE_PlotManagementAdmins || {getPlayerUID player in DZE_DoorManagementAdmins}) then {DZE_BuildingLimit = 750;}; Expand Just wondering what's the difference between these two conditions is. Could you explain that? Link to comment Share on other sites More sharing options...
0 salival Posted May 6, 2017 Report Share Posted May 6, 2017 On 5/6/2017 at 11:38 PM, DAmNRelentless said: Just wondering what's the difference between these two conditions is. Could you explain that? Expand one is DOOR management the other is PLOT management? Link to comment Share on other sites More sharing options...
0 Relentless Posted May 6, 2017 Report Share Posted May 6, 2017 On 5/6/2017 at 11:39 PM, salival said: one is DOOR management the other is PLOT management? Expand Oh I misread, I was wondering about the {} as the only difference, nevermind then. Link to comment Share on other sites More sharing options...
Question
kingpapawawa
There a simple way to ignore the DZE_NoBuildNear if you match an id, maybe in DZE_PlotManagementAdmins?
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now