DMes71
Members
-
Joined
-
Last visited
Reputation Activity
-
DMes71 got a reaction from ToastinYou in Check how Ped diedYes, something like this is exactly what I'm looking for. That should work. Thanks for the help!
-
DMes71 reacted to Stealth22 in Deriving class frrom PedI have done this. I'm not near my computer at the moment, but I'll post again here sometime tonight or tomorrow with an example.
-
DMes71 reacted to FtDLulz in Deriving class frrom PedWhat I did for my Ped Search plugin is check if a ped was in an array of peds, and if not, add them to the array using a Dictionary<Ped, string[]>. The string array would contain the items you found, and if you had already searched the ped (if they were already in the array) I just displayed the items you had found. This is the same as how I did it for Vehicle Search as well. Might not be the most efficient method (still learning) but it works.
You can also set the Default Ped Type the peds in the world spawn as. At the top, where your plugin info is, you can add DefaultPedType = YourPedClass and each Ped in the world will be that class. YourPedClass needs to inherit from the Rage.Ped class, and also needs these constructors: