Jump to content

MiloZoe

Members
  • Posts

    14
  • Joined

  • Last visited

Posts posted by MiloZoe

  1. @Xabi It still doesn't work

    NAPI.Player.PlayPlayerAnimation(player, (int)GameHelper.animationFlags.Loop, "amb@world_human_stand_fishing@idle_a", "idle_c");
    NAPI.Player.PlayPlayerAnimation(player, (int)GameHelper.animationFlags.AllowPlayerControl, "amb@world_human_stand_fishing@idle_a", "idle_c");

     

  2. I am having a problem solving JSON cross-domain requests.
    Can someone help me with this? Thank you! The error after debugging with the CEF debugger is below
    I do not know what to do

    'Access-Control-Allow-Origin' header has a value 'package://' that is not equal to the supplied origin.

  3. Hello, can you help me solve a C# MySQL connection problem?

    The error is as follows:
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not load type 'System.Security.PermissionSet' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral , PublicKeyToken=b77a5c561934e089'.
       At MySql.Data.MySqlClient.MySqlConnection.AssertPermissions()
       At MySql.Data.MySqlClient.MySqlConnection.Open()
       At GameMode.ResourceStart()
       --- End of inner exception stack trace ---
       At System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       At System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       At GTANetworkInternals.ScriptingEngine.InvokeVoidMethod(String method, Object[] args)
       At System.Collections.Generic.List`1.ForEach(Action`1 action)
       At GTANetworkInternals.EventHandler.ParseEx(Event _event, ScriptingEngine engine, Object[] arguments)
       At System.Collections.Generic.List`1.ForEach(Action`1 action)
       At GTANetworkInternals.GameServer.StartResource(String resourceName, String parent)

    I used nuget's mysql data and also referenced bootstrapper but it always gives an error. Thank you!

×
×
  • Create New...