• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Admin system

Status
Not open for further replies.
Level 18
Joined
Feb 28, 2009
Messages
1,971
  • trigger
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set Players = (All players)
      • Player Group - Pick every player in Players and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Name of (Picked player)) Equal to YOUR NAME
            • Then - Actions
              • Player Group - Add (Picked player) to Admins
            • Else - Actions
      • Custom script: call DestroyForce (udg_Players)
It`s string Comparision.
 
Status
Not open for further replies.
Top