Skip to content
This repository has been archived by the owner on Aug 20, 2022. It is now read-only.

Support more RPC (server-side) Natives #29

Open
Ekinoxx0 opened this issue Mar 19, 2021 · 2 comments
Open

Support more RPC (server-side) Natives #29

Ekinoxx0 opened this issue Mar 19, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request fivem Bugs that relate to FiveM server Related to serverside stuff

Comments

@Ekinoxx0
Copy link

Ekinoxx0 commented Mar 19, 2021

Hello,

I would like to suggest supporting more server-side natives in the Player class server-side
There is a lot we can do now server-side that is good practice for security reasons 👍

For reference here is the file containing all the rpc natives for FiveM rpc_spec_natives.lua

You can also search on the Native Reference documentation for server-side natives by filtering for server API-set Image and then search for "Entity" or "Ped" or even "Player".

All of these natives combined can be use to manage peds (perhaps creating a server side Entity class / Ped class)

@benank benank added enhancement New feature or request fivem Bugs that relate to FiveM server Related to serverside stuff labels Mar 19, 2021
@benank
Copy link
Member

benank commented Mar 19, 2021

Thanks! This is a great idea to implement. I started noticing that we're missing a lot of these server side classes and it'd be great to add them. Will probably look into this soon since I've been using these natives a fair bit recently.

@benank benank self-assigned this Mar 19, 2021
@benank
Copy link
Member

benank commented Mar 19, 2021

Added serverside Ped and Entity classes as a starting point. Will revisit this later once those rpc natives make it into the latest recommended build.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request fivem Bugs that relate to FiveM server Related to serverside stuff
Projects
None yet
Development

No branches or pull requests

2 participants