Author Topic: Change access to the races which require levels  (Read 1637 times)

Drops

  • Newbie
  • *
  • Posts: 1
    • View Profile
Change access to the races which require levels
« on: February 27, 2015, 10:17:32 AM »
Hello, I would like to change access to the races that ignore the required level for this race on the flag ADMFLAG_CUSTOM1 (currently it is probably set to ADMFLAG_ROOT). I tried change, but to no avail, and i does not want that flag ADMFLAG_CUSTOM1 have access to the admin menu. Where can I find it?
BTW I was looking for these forums, but i found nothing.

Sry for my English - I used translator :<

Remy Lebeau

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
Re: Change access to the races which require levels
« Reply #1 on: February 27, 2015, 04:41:36 PM »
What you are asking for is called "developer access".

If you give someone developer access using the a custom flag, they WILL have access to the war3source admin menu.  They will also be able to ignore the other restrictions (such as level requirements and team restrictions).

There is no way to give someone unrestricted access to the races without also giving them access to the war3source admin menu.

El Diablo

  • Hero Member
  • *****
  • Posts: 1126
    • View Profile
    • War3Evo
Re: Change access to the races which require levels
« Reply #2 on: March 05, 2015, 05:33:52 AM »
https://github.com/War3Source/War3Source/blob/master/addons/sourcemod/scripting/War3Source_Engine_RaceRestrictions.sp

It would not be too hard to modify that file to look for another flag access to just bypass restrictions for access to any race.

Pyomakine

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Change access to the races which require levels
« Reply #3 on: August 23, 2016, 01:16:30 AM »
I believe that it is interesting to find that the pace and quickly.