Player Speech (C#)
Does anyone know how to make the player/peds talk and say lines such as insults, thanks, hello, goodbye, etc.....
I would like to know this in C# using native functions or the scripthook functions
You can look this and other playspeach functions at the native database for links to more speaches. Here is one example.
Function.Call(Hash._PLAY_AMBIENT_SPEECH1, Game.Player.Character, "GENERIC_CURSE_MED", "SPEECH_PARAMS_FORCE", 1);
@aimless Thank you so much because I went through the nativedb and there were a few options and I didn't know which one I will try it tomorrow when I get back to the mod!
Check my InjuredRagdoll code here, it has a speech section at the end.
You should use a trainer to know the speech library and the speech itself.