From e054a62b226724a09abf66deb66a8008446bb7aa Mon Sep 17 00:00:00 2001 From: Lorenc Pekaj Date: Mon, 15 Oct 2018 19:50:58 +1100 Subject: [PATCH] show player money bags that are intentionally dropped --- gamemodes/irresistible/cnr/features/weapon_drop.pwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemodes/irresistible/cnr/features/weapon_drop.pwn b/gamemodes/irresistible/cnr/features/weapon_drop.pwn index 2e93b1e..8d79037 100644 --- a/gamemodes/irresistible/cnr/features/weapon_drop.pwn +++ b/gamemodes/irresistible/cnr/features/weapon_drop.pwn @@ -275,7 +275,7 @@ CMD:moneybags( playerid, params[ ] ) szLargeString = ""COL_WHITE"Amount\t"COL_WHITE"Location\n"; - foreach ( new dropid : weapondrop ) if ( g_weaponDropData[ dropid ] [ E_WEAPON_ID ] == WEAPON_MONEY ) { + foreach ( new dropid : weapondrop ) if ( ! g_weaponDropData[ dropid ] [ E_EXPIRE_TIMESTAMP ] && g_weaponDropData[ dropid ] [ E_WEAPON_ID ] == WEAPON_MONEY ) { Streamer_GetFloatData( STREAMER_TYPE_PICKUP, g_weaponDropData[ dropid ] [ E_PICKUP ], E_STREAMER_X, X ); Streamer_GetFloatData( STREAMER_TYPE_PICKUP, g_weaponDropData[ dropid ] [ E_PICKUP ], E_STREAMER_Y, Y );