@MrEuphrates OK, so I took a look at the document you linked.
The definition of the native doesnt make sense to me.
Heres what I mean:
loading stream in C (return type is "bool", function name is "LOAD_STREAM", parameters are two char*):
BOOL LOAD_STREAM(char* streamName, char* soundSet);
loading stream in lua (return type is "bool", function name is "LoadStream", parameters are two strings):
local retval --[[ boolean ]] = LoadStream(
streamName --[[ string ]],
soundSet --[[ string ]]
)
ambient speech in C (return type is "bool", function name is "PLAY_PED_AMBIENT_SPEECH_NATIVE", parameters are Ped and Any*):
BOOL PLAY_PED_AMBIENT_SPEECH_NATIVE(Ped ped, Any* params);
ambient speech in lua (return type is "bool", function name is "PlayPedAmbientSpeechNative", parameters are ??):
local retval --[[ boolean ]], params --[[ Any ]] =
PlayPedAmbientSpeechNative(
ped --[[ Ped ]]
)
I dont even know how to interpret the definition.