mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-14 16:44:08 +00:00
Noskillx's PR + fix .set loading
This commit is contained in:
parent
70fa4ab79c
commit
c483a044b5
10 changed files with 90 additions and 76 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue