Dezito submitted a new resource:
Airdrop Arrow - Draws an arrow on airdrops
Read more about this resource...
Airdrop Arrow [Unmaintained]
Discussion in 'Plugin Support' started by Dezito, Jun 29, 2015.
-
Wulf Community Admin
I've gone ahead and conditionally approved the plugin, but I would recommend using the changes provided below. There is a lot of unnecessary code in your original submission, such as the timer destroying, the unused variables, wrong resource ID variable and ID, etc.
-
could you show a screenshot of it? it sounds very interesting
-
Dezito updated Airdrop Arrow with a new update entry:
Improved the code thanks Wulf
-
Code:
Oxide] 2:25 AM [Error] Failed to run a 1.00 timer in airdrop_arrow File: airdrop_arrow.lua Line: 37 attempt to perform arithmetic on field 'ArrowLength' (a nil value): at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.Method.LuaDelegate.CallFunction (System.Object[] args, System.Object[] inArgs, System.Int32[] outArgs) [0x00000] in <filename unknown>:0 at LuaGeneratedClass1.CallFunction () [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:
-
Wulf Community Admin
-
Code:
{ "AirdropArrow": { "ArrowEnabled": true, "ArrowLength": 15, "ArrowSize": 4, "ArrowTime": 60 }, "PluginSettings": { "Title": "Airdrop Arrow", "Version": "1.0.0" } }
EDIT: delete and reload plugin? -
Wulf Community Admin
-
-
so no screenshot? what a shame, it sounded interesting tho
-
Heres a picture of it
Attached Files:
-
-
Thanks or should i say "Tak"
diddent knew you where danish or norwegian -
Hehe Danish
-
samme her
-
can u add permissions like only vip can view the arrow
-
Arrow not working, error in code below!
Code:[Oxide] 10:46 PM [Error] Failed to run a 1.00 timer in 'airdrop_arrow v1.0.1' File: airdrop_arrow.lua Line: 37 attempt to perform arithmetic on field 'ArrowLength' (a nil value): at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.Method.LuaDelegate.CallFunction (System.Object[] args, System.Object[] inArgs, System.Int32[] outArgs) [0x00000] in <filename unknown>:0 at LuaGeneratedClass1.CallFunction () [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:0
Last edited by a moderator: Oct 3, 2015 -
StartPos.y = SupplyDrop.transform.position.y + 5 + self.Config.ArrowLengthLast edited by a moderator: Oct 3, 2015 -
yes mate
[DOUBLEPOST=1441807081][/DOUBLEPOST]didnt work -
Wulf Community Admin
-