-------------------------------------------------- -------------------------------------------------- Ped Money v1.4b by diamond-optic 08.07.15 -------------------------------------------------- Summary: I found it nearly pointless for most peds to seemingly have less then $20 on them, if they have any money at all. So this is just a little script that makes peds drop more money. It's a pretty basic script right now, but in the future I hope to expand and improve upon setting different amounts of money based on the type of ped. Ideas, suggestions, etc are welcome. -------------------------------------------------- Information: Sets nearby ped money to a random value between the min & max values. You can set seperate min/max values for various different types of peds in the 'Configuration' section near the top of the PedMoney.lua file. It only sets the ped's money if they have less then the min value, so no worries about taking money away from any peds. 'Bums' are opposite of this and set their money if they have more then the max value. Money values below 10 dont seem to drop anything. You can change the interval that controls how often the script will perform its nearby ped check in the 'Configuration' section near the top of the PedMoney.lua file. (default: 3000) -------------------------------------------------- Installation: Simply place the PedMoney.lua file inside the \scripts\addins\ directory in your base GTAV install location. -------------------------------------------------- Requirements: Script Hook V LUA Plugin For Script Hook V -------------------------------------------------- Change Log: Version 1.4b (08.07.15) - Removed some code accidently left in from testing Version 1.4 (07.24.15) - Added golfers - Added mimes - Added prison guards - Added the peds that steal the Smoke On The Water van - Added shopkeepers from Open All Interiors (by NewTheft / TaazR) - Added crate drop smugglers from Online Random Events for Single Player (by PlasticTangerine) - Minor code improvements Version 1.3 (06.06.15) - Lowered the default Interval setting to 3000 (was 5000) - Fixed a typo in the dealer group hash - Fixed a typo in setting the money for Asian gang members - Minor code improvements Version 1.2 (05.17.15) - Fixed the default setting value overwriting groups with a lower min value - Added a missing group (no new configuration value, it uses the default) - 'Bums' now only have their money set if they have more then the max value - Adjusted some of the configuration values Version 1.1 (05.10.15) - Added ability to set different amounts of money for some different types of peds. - Cleaned up a few things from v1.0 Version 1.0 (05.09.15) - Initial Release -------------------------------------------------- Known Issues: Cops don't drop any money If peds have a money value below 10 they dont end up dropping any money at all The script only checks for peds within a small radius, which means if you kill a ped that is far away, they will not have the amount of money set by this script. -------------------------------------------------- Configuration: Edit these values in the 'Configuration' section near the top of the PedMoney.lua file to customize the settings: local Interval = 3000 -- Interval for nearby ped check (default: 3000) local Money = {} Money.Default_Min = 50 -- For peds that are not in any of the other groups Money.Default_Max = 200 -- For peds that are not in any of the other groups Money.CivMale_Min = 50 Money.CivMale_Max = 200 Money.CivFemale_Min = 50 Money.CivFemale_Max = 300 Money.Cop_Min = 25 -- Cops do not drop money, so for right now this setting has no effect Money.Cop_Max = 100 -- Cops do not drop money, so for right now this setting has no effect Money.Army_Min = 50 Money.Army_Max = 100 Money.Fireman_Min = 25 Money.Fireman_Max = 100 Money.Medic_Min = 25 Money.Medic_Max = 100 Money.SecurityGuard_Min = 25 Money.SecurityGuard_Max = 100 Money.PrivateSecurity_Min = 100 Money.PrivateSecurity_Max = 500 Money.Prisoner_Min = 0 Money.Prisoner_Max = 15 Money.Gang1_Min = 500 Money.Gang1_Max = 1000 Money.Gang2_Min = 500 Money.Gang2_Max = 1000 Money.Gang9_Min = 500 Money.Gang9_Max = 1000 Money.Gang10_Min = 500 Money.Gang10_Max = 1000 Money.GangLost_Min = 500 Money.GangLost_Max = 1000 Money.GangMexican_Min = 500 Money.GangMexican_Max = 1000 Money.GangFamily_Min = 500 Money.GangFamily_Max = 1000 Money.GangBallas_Min = 500 Money.GangBallas_Max = 1000 Money.GangMarabunte_Min = 500 Money.GangMarabunte_Max = 1000 Money.GangCult_Min = 100 Money.GangCult_Max = 500 Money.GangSalva_Min = 500 Money.GangSalva_Max = 1000 Money.GangWeicheng_Min = 500 Money.GangWeicheng_Max = 1000 Money.GangHillbilly_Min = 50 Money.GangHillbilly_Max = 100 Money.Dealer_Min = 1000 Money.Dealer_Max = 5000 Money.Bum_Min = 0 Money.Bum_Max = 15 Money.Prostitute_Min = 1000 Money.Prostitute_Max = 3000 Money.Stripper_Min = 500 Money.Stripper_Max = 1500 Money.Bouncer_Min = 250 Money.Bouncer_Max = 500 Money.Golfer_Min = 500 Money.Golfer_Max = 2500 Money.Mime_Min = 300 Money.Mime_Max = 750 Money.PrisonGuard_Min = 50 Money.PrisonGuard_Max = 250 Money.SOTW_Min = 500 Money.SOTW_Max = 1000 Money.Shopkeeper_Min = 100 Money.Shopkeeper_Max = 500 Money.SmugglerCrates_Min = 500 Money.SmugglerCrates_Max = 3000 -------------------------------------------------- -------------------------------------------------- -------------------------------------------------- -------------------------------------------------- * please do not upload my mods to other sites! * -------------------------------------------------- --------------------------------------------------