KarlOfDuty / SCPermissions

A permissions plugin for Smod/SCP:SL
https://karlofduty.com/
GNU General Public License v3.0
3 stars 0 forks source link

scperms_giverank not worked #1

Closed agent188 closed 5 years ago

agent188 commented 5 years ago

scperms_giverank responseteam 76561198804306038

Command SCPERMS_GIVERANK failed to excute and threw an exception: Object reference not set to an instance of an object at SCPermissions.SCPermissions.GiveRank (System.String steamID, System.String rank) [0x0000b] in <5bdac850a45a42b7a968cefbb1161058>:0 at SCPermissions.SCPermissions+GiveRankCommand.OnCall (Smod2.Commands.ICommandSender sender, System.String[] args) [0x00054] in <5bdac850a45a42b7a968cefbb1161058>:0 at GameConsole.Console.CallCommand (Smod2.Commands.ICommandSender sender, System.String command, System.String[] args) [0x00031] in :0

config: image

KarlOfDuty commented 5 years ago

did you run this as a player or as console?

KarlOfDuty commented 5 years ago

make sure there are no tabs in the file, only spaces

agent188 commented 5 years ago

I ran it both via RA and through your scpdiscord plugin

KarlOfDuty commented 5 years ago

Should be fixed in the latest release.