mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-15 22:54:07 +00:00
Merge pull request #526 from Nick007J/miami
GenerateOneRandomCar except bikes
This commit is contained in:
commit
40cfd0576f
19 changed files with 276 additions and 42 deletions
|
@ -1396,6 +1396,15 @@ CStreaming::StreamVehiclesAndPeds(void)
|
|||
else
|
||||
SetModelIsDeletable(MI_CHOPPER);
|
||||
|
||||
if (FindPlayerPed()->m_pWanted->AreMiamiViceRequired()) {
|
||||
//TODO(MIAMI): miami vice peds
|
||||
RequestModel(MI_VICECHEE, STREAMFLAGS_DONT_REMOVE);
|
||||
}
|
||||
else {
|
||||
SetModelIsDeletable(MI_VICECHEE);
|
||||
//TODO(MIAMI): miami vice peds
|
||||
}
|
||||
|
||||
if(timeBeforeNextLoad >= 0)
|
||||
timeBeforeNextLoad--;
|
||||
else if(ms_numVehiclesLoaded <= desiredNumVehiclesLoaded){
|
||||
|
|
|
@ -39,6 +39,12 @@ CWanted::Initialise()
|
|||
ClearQdCrimes();
|
||||
}
|
||||
|
||||
bool
|
||||
CWanted::AreMiamiViceRequired()
|
||||
{
|
||||
return m_nWantedLevel >= 3;
|
||||
}
|
||||
|
||||
bool
|
||||
CWanted::AreSwatRequired()
|
||||
{
|
||||
|
|
|
@ -31,6 +31,7 @@ public:
|
|||
|
||||
public:
|
||||
void Initialise();
|
||||
bool AreMiamiViceRequired();
|
||||
bool AreSwatRequired();
|
||||
bool AreFbiRequired();
|
||||
bool AreArmyRequired();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue