[HELP] Implementing Natives From List

(maybe this is a pointless thread but)

http://www.dev-c.com/nativedb/

is linked a lot to new developers without much examples however not much info is given on how to format and implement them. (i know each native shows a format for using it but hear me out)

void SET_ENTITY_HEALTH(Entity entity, int health)

is actually used as

SetEntityHealth(GetPlayerPed(-1), health)

Is this the case for all of them and is it true that these can only used in client side scripts?

you can check all the native function for lua in your fivem folder : AppData\Local\fivem\FiveM.app\citizen\scripting\lua

1 Like

SET_ENTITY_HEALTH is C, SetEntityHealth is Lua, thus the difference

1 Like

How do I know the lua version of all of them?

Remove the underlines and you got em. If you use sublime, you can also use Kanersps plugin

1 Like