Jump to content

Support for Console commands

Closed 1.1.1 1.1.2

Stampy

Hi please could you make it possible to use console commands to put someone on duty or off as it currently doesnt work

 

already off duty!
pd 76561198334320942
Failed to call hook 'policeOnDuty' on plugin 'Police v1.1.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.Police.policeOnDuty (Oxide.Core.Libraries.Covalence.IPlayer player, System.String command, System.String[] args) [0x0011c] in <80a1eeadbaf34bea9d759478d9c75c07>:0 
  at Oxide.Plugins.Police.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0045d] in <80a1eeadbaf34bea9d759478d9c75c07>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cd9a02fd331347bd82d550bb1a9c8e9f>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b76ec77c47d1449e92b2baab8603843d>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b76ec77c47d1449e92b2baab8603843d>:0 
pde 76561198334320942
already off duty!

Share this comment


Link to comment

Please use Police.pd (SteamID) or Police.pde (SteamID)

Updated the Plugin you can now set a player with permission on or off duty in Console remotely

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.2k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.