Danikov Posted December 5, 2013 Share Posted December 5, 2013 I have been trying to find out where is the ped money defined and taken a look at the .dat files a few times,but couldn't find anything related to money(excluding shoppin.dat).. anyone knows what controls the amount of cash peds drop? Link to comment Share on other sites More sharing options...
DK22Pac Posted December 5, 2013 Share Posted December 5, 2013 (edited) What do you want to change exactly? Here is the code from CPed::SetModelIndex, where money count is initialised: if(IsPedModelInGroup(ped->m_wModelIndex, POPCYCLE_GROUP_BUSINESS) || IsPedModelInGroup(ped->m_wModelIndex, POPCYCLE_GROUP_CASUAL_RICH)) ped->m_wMoneyCount = rand() % 50 + 20;else ped->m_wMoneyCount = rand() % 25; Edited December 5, 2013 by _DK Link to comment Share on other sites More sharing options...
Danikov Posted December 5, 2013 Author Share Posted December 5, 2013 (edited) Thank you for replying. I am willing to change the amount of cash that Crack Dealers can drop. Do they have their own specific group? Edited December 5, 2013 by Danikov Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now