diff --git a/RageCoop.Client/Scripting/BaseScript.cs b/RageCoop.Client/Scripting/BaseScript.cs index f2819b9..efb493c 100644 --- a/RageCoop.Client/Scripting/BaseScript.cs +++ b/RageCoop.Client/Scripting/BaseScript.cs @@ -165,60 +165,60 @@ namespace RageCoop.Client.Scripting { case TypeCode.Boolean: API.SendCustomEvent(CustomEvents.NativeResponse, - new List { id, Function.Call(hash, arguments.ToArray()) }); + new object[] { id, Function.Call(hash, arguments.ToArray()) }); break; case TypeCode.Byte: API.SendCustomEvent(CustomEvents.NativeResponse, - new List { id, Function.Call(hash, arguments.ToArray()) }); + new object[] { id, Function.Call(hash, arguments.ToArray()) }); break; case TypeCode.Char: API.SendCustomEvent(CustomEvents.NativeResponse, - new List { id, Function.Call(hash, arguments.ToArray()) }); + new object[] { id, Function.Call(hash, arguments.ToArray()) }); break; case TypeCode.Single: API.SendCustomEvent(CustomEvents.NativeResponse, - new List { id, Function.Call(hash, arguments.ToArray()) }); + new object[] { id, Function.Call(hash, arguments.ToArray()) }); break; case TypeCode.Double: API.SendCustomEvent(CustomEvents.NativeResponse, - new List { id, Function.Call(hash, arguments.ToArray()) }); + new object[] { id, Function.Call(hash, arguments.ToArray()) }); break; case TypeCode.Int16: API.SendCustomEvent(CustomEvents.NativeResponse, - new List { id, Function.Call(hash, arguments.ToArray()) }); + new object[] { id, Function.Call(hash, arguments.ToArray()) }); break; case TypeCode.Int32: API.SendCustomEvent(CustomEvents.NativeResponse, - new List { id, Function.Call(hash, arguments.ToArray()) }); + new object[] { id, Function.Call(hash, arguments.ToArray()) }); break; case TypeCode.Int64: API.SendCustomEvent(CustomEvents.NativeResponse, - new List { id, Function.Call(hash, arguments.ToArray()) }); + new object[] { id, Function.Call(hash, arguments.ToArray()) }); break; case TypeCode.String: API.SendCustomEvent(CustomEvents.NativeResponse, - new List { id, Function.Call(hash, arguments.ToArray()) }); + new object[] { id, Function.Call(hash, arguments.ToArray()) }); break; case TypeCode.UInt16: API.SendCustomEvent(CustomEvents.NativeResponse, - new List { id, Function.Call(hash, arguments.ToArray()) }); + new object[] { id, Function.Call(hash, arguments.ToArray()) }); break; case TypeCode.UInt32: API.SendCustomEvent(CustomEvents.NativeResponse, - new List { id, Function.Call(hash, arguments.ToArray()) }); + new object[] { id, Function.Call(hash, arguments.ToArray()) }); break; case TypeCode.UInt64: API.SendCustomEvent(CustomEvents.NativeResponse, - new List { id, Function.Call(hash, arguments.ToArray()) }); + new object[] { id, Function.Call(hash, arguments.ToArray()) }); break; }