Jump to content

[Discussion] Best ways to create a dialog


Guest

Recommended Posts

I've been using this crappy thing for making a dialog and was wondering what everybody else has came up with, don't bother if you just do GameFiber.Sleep continuously without even using a new GameFiber 🤦‍♀️

 

private readonly List<string> dialogWithPed = new List<string>()
{
    "Officer: BLA BLA BLA",
    "Ped: BLA BLA BLA"
};
private int dialogWithPedIndex;
if (!Game.IsKeyDown(Keys.Y)) return;

if (dialogWithPedIndex < dialogWithPed.Count)
{
    Game.DisplaySubtitle(dialogWithPed[dialogWithPedIndex]);
    dialogWithPedIndex++;
}

if (dialogWithPedIndex == 2)
{
    //
}
Link to comment
Share on other sites

This could be a simple yet cool addition to LSPDFR, create a minimal two or three conversation for random peds, generate or create hundreds/thousands of conversations with simple responses. For example a ped could ask you for directions, or maybe flag you down to investigate an area?. Or hell, maybe even have a hostile conversation with you have gang peds engage in mean/negative cop hating conversations/responses. 

derp.png

                                                                                                                                         4-DAVID-20 

Link to comment
Share on other sites

Officer: "Hello sir, we got a call about someone here playing music too loud, you know anything about that?" 

 

Ped: 'you should stop sticking your nose in other peoples business." 

"I'm a marked man, so I'm getting out of here"

 

Ray Machowski

Link to comment
Share on other sites

30 minutes ago, GTALawEnforcer said:

This could be a simple yet cool addition to LSPDFR, create a minimal two or three conversation for random peds, generate or create hundreds/thousands of conversations with simple responses. For example a ped could ask you for directions, or maybe flag you down to investigate an area?. Or hell, maybe even have a hostile conversation with you have gang peds engage in mean/negative cop hating conversations/responses. 

 

23 minutes ago, TheSandwichStealer said:

Officer: "Hello sir, we got a call about someone here playing music too loud, you know anything about that?" 

 

Ped: 'you should stop sticking your nose in other peoples business." 

@GTALawEnforcer & @TheSandwichStealer not asking for a LSPDFR feature nor am I asking what to write in a dialog..maybe read what I actually want next time? Thanks.

Edited by NoNameSet
Link to comment
Share on other sites

5 hours ago, NoNameSet said:

 

 @TheSandwichStealer not asking for a LSPDFR feature nor am I asking what to write in a dialog..maybe read what I actually want next time? Thanks.

 

 

Oh I see what you mean now, my bad dude. Do you like the program you're using? 

"I'm a marked man, so I'm getting out of here"

 

Ray Machowski

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...