it is 2nd day i need to visit the fivem native but still cant login when it will be fixed?
You can reference the repository behind the website for now at https://github.com/citizenfx/natives or use https://www.dev-c.com/nativedb/.
i cant log to the https://keymaster.fivem.net/
Sorry I should have mentioned, some services are currently unavailable due to an on-going DDoS attack. You can check FiveM’s status at https://status.fivem.net/.
btw half of natives are missin on https://github.com/citizenfx/natives
and theese arent https://github.com/citizenfx/natives for lua
Simply remove any underscores to make a native compatible with Lua.
So ATTACH_CAM_TO_ENTITY() becomes AttachCamToEntity()
btw i cant work the cam native can u write me a example with CREATE_CAM_WITH_PARAMS
cz i really tried i i created it with params but it doesnt switch to the camera
Sure.
Not gonna lie, I don’t quite understand the camera too much myself, but this will give you a good starting point for setting one up pointing at specific coordinates - if that helps any. Just replace the x, y, z and h coordinates.
local camera = CreateCamWithParams("DEFAULT_SCRIPTED_CAMERA", x, y, z, 0.00, 0.00, 0.00, heading, false, 0)
SetCamActive(camera , true)
RenderScriptCams(true, true, 2000, true, true)
Native reference should be back online