Hey Folks,
Using the Economics API, and trying to write up a quick and simple plugin that just does not seem to want to work. Am pretty new to lua, so chances are its something very simple that I've done wrong.
http://paste.ubuntu.com/10565853/
Any help would be much appreciated!Code:Get this error message on player connect. 6:47 PM [Error] Failed to call hook 'OnPlayerConnected' on plugin 'MoneyTime' File: MoneyTime.lua Line: 36 invalid arguments to method call: 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 (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
Solved Invalid arguments to method call with timer
Discussion in 'Rust Development' started by Spiritwind, Mar 9, 2015.