I am currently working on my Inventory Search Mod.
A player does /search <name> and it outputs if they have any illegal items ( guns and ammo for now )
However I am having trouble getting it to work 100%
Currently it seems to be intermittent with the results and sometimes it wont output any result even though I know for a fact the target player has said illegal item.
IF THIS WORKS FOR YOU PLEASE POST YOUR CURRENT PLUGINS ON YOUR SERVER! THANKS!
Here is my current code ( I use Oxide and HFB Host for my Server )
Edit: Some people having trouble with the posted code so here is a link to the luabin: [url]http://pastebin.com/9T6Pebvf[/url]
so your making a mod that bans players from having guns and ammo?
[QUOTE=ratai;43747920]so your making a mod that bans players from having guns and ammo?[/QUOTE]
No. In fact it is for roleplaying usually for police or trading items without getting shot.
Players can search each other for dangerous items.
Luke u said it works for others but its not at 100% for me and I think it is a plugin conflict.
Just tried it and it does not work
[Oxide] Lua error handling chat command 'search': NLua.Exceptions.LuaScriptException: [string "C:\TCAFiles\Users\USER\#\save\oxide\plu..."]:122: A .NET exception occured in user-code: 1307808256
Sorry, you need to Log In to post a reply to this thread.