Call native in LUA?

Hi, I saw this native DB http://www.dev-c.com/nativedb/, and I would like to know how we can call these functions with Lua? Because there are a lot of interesting things but I don’t know how to use them…

For exemple, how fiveM transformed SET_PLAYER_WANTED_LEVEL in SetPlayerWantedLevel (p0, p1) ?

Because for exemple, I would like to use native to play animation, but I never did it before…
I think I already read something about it but I can’t find it anymore

Thank you

Hello, for example to play animation use :

RequestAnimDict("amb@world_human_cheering@male_a")
TaskPlayAnim(GetPlayerPed(-1), "amb@world_human_cheering@male_a", "base", 8.0, -8, -1, 0, 0, 0, 0, 0)
drawNotification("text-here")

More information about animation on this site