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; }; DieTanx and juandayz 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 2 hours ago, 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. 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 57 minutes ago, 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;}; 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 Just now, DAmNRelentless said: Just wondering what's the difference between these two conditions is. Could you explain that? 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 16 minutes ago, salival said: one is DOOR management the other is PLOT management? 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