Jump to content

Xabi

Moderators
  • Posts

    1444
  • Joined

  • Last visited

  • Days Won

    83

Posts posted by Xabi

  1. 3 hours ago, adiq888 said:

     

    
    	[ServerEvent(Event.PlayerEnterVehicle)]
            void OnPlayerEnterVehicle(Client player, Vehicle vehicle, sbyte seatID)
            {
                if (vehicle == veh[0])
                {
                    NAPI.Chat.SendChatMessageToPlayer(player, "To jest pojazd kuriera!");
                }
            }
    	

     

     

    after executing this code the server will crash

    And what's the exception?

  2. 31 minutes ago, MiloZoe said:

    @Xabi

    But it still does not perform animation when fishing.

    @XabiThis is my code.

    
    NAPI.Player.PlayPlayerAnimation(client, (int)Anim.animationFlags.AllowPlayerControl, "amb@world_human_stand_fishing@idle_a", "idle_c");

     

    Try playing with the flags, maybe you need AllowPlayerControl and Loop at the same time.

  3. 3 hours ago, Meido no Hitsuji said:

    ZKUysR2FfDQ.jpg

    Hello. Faced a similar problem. I saw that they had already somehow decided it, but did not paint how. And I’ll say right away that the installation of this package did not help to solve the problem.

    Get the asked dll library from the folder/Github and replace it.

    • Like 1
×
×
  • Create New...