Author Topic: Give a STEAMID access to use one command  (Read 2109 times)

0 Members and 1 Guest are viewing this topic.

Offline Geralde

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Give a STEAMID access to use one command
« on: March 08, 2016, 10:28:01 AM »
Hello I am running a starwars RP server and i was wondering if i could allow a single user or steam id access to ulx scale and to make it so they only target them self.

or

have it so they run a command (only they can run it) and it will scale themself down to a set number (0.5)

Basically what i am using it for is the Yoda job. there is a skin for it but its normal size and well as most people know Yoda ain't normal size. so i need help adding something in to the server to allow the one person that owns the Yoda job (Its only going to be one person it wont change) to be able to scale them self down if there isn't a staff member to do it for them.

thanks

Geralde

Offline Timmy

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 252
  • Karma: 168
  • Code monkey
Re: Give a STEAMID access to use one command
« Reply #1 on: March 08, 2016, 10:39:35 AM »
You can give an individual user access to a command with ulx userallow or ulx userallowid.
Code: [Select]
ulx userallow <player> <command> [<access tag>] - Add to a user's access.
Code: [Select]
ulx userallowid <SteamID, IP, or UniqueID> <command> [<access tag>] - Add to a user's access.
Example:
Code: [Select]
ulx userallow Timmy "ulx kick" ^or
Code: [Select]
ulx userallowid STEAM_0:0:57225082 "ulx kick" ^Would give me access to kick myself.
« Last Edit: March 08, 2016, 10:42:29 AM by Timmy »

Offline Geralde

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Give a STEAMID access to use one command
« Reply #2 on: March 08, 2016, 11:05:22 AM »
Sweet thanks dude