diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-07-06 18:26:06 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-07-06 18:26:41 +0200 |
commit | c483a044b587691f70fd7e8cb5348c59a8509d76 (patch) | |
tree | 99d462a04fd5bc92a2461a976f10d89980a81ea6 /src/control | |
parent | Frontend: Stats, Briefs, gta_vc.set, slider ranges, fixes (diff) | |
download | re3-c483a044b587691f70fd7e8cb5348c59a8509d76.tar re3-c483a044b587691f70fd7e8cb5348c59a8509d76.tar.gz re3-c483a044b587691f70fd7e8cb5348c59a8509d76.tar.bz2 re3-c483a044b587691f70fd7e8cb5348c59a8509d76.tar.lz re3-c483a044b587691f70fd7e8cb5348c59a8509d76.tar.xz re3-c483a044b587691f70fd7e8cb5348c59a8509d76.tar.zst re3-c483a044b587691f70fd7e8cb5348c59a8509d76.zip |
Diffstat (limited to 'src/control')
-rw-r--r-- | src/control/Garages.cpp | 1 | ||||
-rw-r--r-- | src/control/Pickups.cpp | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/control/Garages.cpp b/src/control/Garages.cpp index 66f1851d..6b4ceb80 100644 --- a/src/control/Garages.cpp +++ b/src/control/Garages.cpp @@ -1386,6 +1386,7 @@ bool CGarages::IsCarSprayable(CVehicle * pVehicle) case MI_BARRACKS: case MI_DODO: case MI_COACH: + case MI_FBIRANCH: return false; default: break; diff --git a/src/control/Pickups.cpp b/src/control/Pickups.cpp index 95abe2c5..6576be7f 100644 --- a/src/control/Pickups.cpp +++ b/src/control/Pickups.cpp @@ -269,12 +269,12 @@ CPickup::Update(CPlayerPed *player, CVehicle *vehicle, int playerId) return true; case PICKUP_COLLECTABLE1: CWorld::Players[playerId].m_nCollectedPackages++; - CWorld::Players[playerId].m_nMoney += 1000; + CWorld::Players[playerId].m_nMoney += 100; if (CWorld::Players[playerId].m_nCollectedPackages == CWorld::Players[playerId].m_nTotalPackages) { printf("All collectables have been picked up\n"); CGarages::TriggerMessage("CO_ALL", -1, 5000, -1); - CWorld::Players[CWorld::PlayerInFocus].m_nMoney += 1000000; + CWorld::Players[CWorld::PlayerInFocus].m_nMoney += 100000; } else CGarages::TriggerMessage("CO_ONE", CWorld::Players[CWorld::PlayerInFocus].m_nCollectedPackages, 5000, CWorld::Players[CWorld::PlayerInFocus].m_nTotalPackages); |