Skip to content

Bug: Register Server Events, Package Events do not accept an entry #3

@ben-of-codecraft

Description

@ben-of-codecraft

This code should not expect an entry:

declare function RegisterServerEvent(
  this: void,
  entry: number,
  event: ServerEvents.SERVER_EVENT_ON_PACKET_RECEIVE,
  func: HookFunctionNoSelf<server_event_on_packet_receive_any>,
  shots?: number,
): (...args: any[]) => any;
declare function RegisterServerEvent(
  this: void,
  entry: number,
  event: ServerEvents.SERVER_EVENT_ON_PACKET_SEND,
  func: HookFunctionNoSelf<server_event_on_packet_send_any>,
  shots?: number,
): (...args: any[]) => any;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions