-
Notifications
You must be signed in to change notification settings - Fork 5
Helper Functions Guide
This is a list of all global helper functions in the CallHandler.cs
file.
Plays an Idle Animation for ped. If iscop = true, the animation will be a cop idle animation. Different animations available for male/female cops and citizens, specified in the relevant two-dimensional arrays at the start of the class.
Creates a list of all the Vector3 locations within mindistance and maxdistance contained in list. Returns locationReturned = false if no corresponding locations are found in list, and a random corresponding location if a location is found.
void Dialogue(List<string> dialogue, Ped animped = null, String animdict = "missfbi3_party_d", String animname = "stand_talk_loop_a_male1", float animspeed = -1, AnimationFlags animflag = AnimationFlags.Loop)
Plays a dialogue in List form. Optionally, specify a Ped and animation to play while the dialogue is progressing. The dialgoue will be progress when the player presses the MainInteractionKey key in the Config.ini file.