fivem icon indicating copy to clipboard operation
fivem copied to clipboard

feat(rdr): add NETWORK_DOES_ENTITY_EXIST_WITH_NETWORK_ID as a Cfx native

Open AvarianKnight opened this issue 1 year ago • 1 comments

Goal of this PR

Allow the usage of NETWORK_DOES_ENTITY_EXIST_WITH_NETWORK_ID without needing to directly invoke 0x18A47D074708FD68.

This also copies the ScRT warnings to provide more useful warnings.

How is this PR achieving the goal

Declared the native as a Cfx native and include scripting core warnings.

This PR applies to the following area(s)

RedM

Successfully tested on

Game builds: 1491

Platforms: Windows

Checklist

  • [x] Code compiles and has been tested successfully.
  • [x] Code explains itself well and/or is documented.
  • [x] My commit message explains what the changes do and what they are for.
  • [x] No extra compilation warnings are added by these changes.

Fixes issues

AvarianKnight avatar Oct 10 '24 21:10 AvarianKnight

Tested, working, thank you for the contribution.

martonp96 avatar Oct 16 '24 18:10 martonp96