Jump to content

Radsel

Members
  • Posts

    10
  • Joined

  • Last visited

 Content Type 

Forums

Gallery

Downloads

Tutorials

News Stories

Wiki

Community Guidelines

LSPDFR BOLO Series

GTA5 Native Database

GTA5 Native Parameters

Release Highlights

LSPDFR Mod Showcase

LML User Contributions

Everything posted by Radsel

  1. STP would not allow me to speak to them. I wanted to be able to ask them for ID, search them,and ask a few basic custom questions, then convert to partner. Also, it looks like all the cop models are default male gender (regardless of model selected). I was thinking, i may be able to change gender for the female model spawned, which would solve one issue. I assign custom names by gender. If they all default to male, only male names would be assigned from my list. I believe there are only about 7 actual cop models. So, my thought on all of this was, if they were not "cops" to start with, I could perform all those actions. Hope that makes sense.
  2. As a work around, I just used models that don't spawn as cops, but look similar to cops ("mp_s_m_armoured_01", "s_m_m_armoured_01", "s_m_m_armoured_02" I can have a dialog and interaction, then recruit them through Ultimate backup. I'll play around with the relationship group with the cop model, and see what I can do with it. Here's my interaction for now: (condensed version)
  3. Thanks all for the help. I did discover their are two useful things for what I was trying to do: spawn random ped If (Ped.ismale) {code for male here} and if(Ped.isfemale) {code for female here} works great
  4. Hello All, The code SetPedAsACop (Ped), does just that. Is there a code to set a ped that is all ready a cop, to not be a cop anymore? When I spawn a cop model, they are all ready a cop. I'm trying to write something that lets the player interact with a ped (cop model), then recruit them as a partner. Or should I be looking at spawning a random ped, then changing their uniform? Any thoughts? Thanks
  5. They are there. I did have an older one, which I updated , that caused the same problem with a later version number. Now that I think about this, is the mismatch between the current installed game version and the plugin? Or is it between the plugin and the referenced file in VB? Also can you mix and match RPH commands and LSPDFR commands in a stand alone plugin? I do it in callouts and its fine. Thanks
  6. I am having a similar issue with trying to use ped personas. Have you gotten any where on this? I am pretty sure this is the problem, since i have the same error: System.IO.FileNotFoundException Exception message: Could not load file or assembly 'LSPD First Response, Version=0.4.8037.37597, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. I'm thinking I must include LSPDFR.dll somewhere in my plugin so it can access it, maybe. thanks
  7. I figured it out. used if (!Sup.IsMale) { Main code here for female peds } else { Main code here for male peds } Also, any advice on how to get these peds to do random day to day things? They just stand there. Tnx
  8. Thank you. I will give that a try. In the mean time, I just wrote a string with 10 different male ped models in it. Kind of messy, but it does work. I'll share what I did later. Not at that computer ATM. Thanks again, and thanks for all your contributions here. I couldn't of done any of this without your guide.
  9. I know this is the way to spawn a random ped. private Ped ped ped = new Ped(); Is there a simple way to specify the gender of the random ped? I would like to spawn just male or female peds at different times, but not limit them to a string that I would have to create. Hope that makes sense. Thanks in advance.
×
×
  • Create New...