increase payout for robberies

This commit is contained in:
Lorenc Pekaj 2018-10-08 21:34:45 +11:00
parent b2f9b51388
commit 53d7f274e8
2 changed files with 3 additions and 3 deletions

View File

@ -274,7 +274,7 @@ stock CreateRobberyNPC( name[ ], max_loot, Float: X, Float: Y, Float: Z, Float:
if ( clerkid != ITER_NONE ) if ( clerkid != ITER_NONE )
{ {
new new
randomMaxLoot = RandomEx( max_loot - 100, max_loot + 100 ), randomMaxLoot = RandomEx( max_loot - 250, max_loot + 250 ),
worldid = getarg( i ); worldid = getarg( i );
Iter_Add(RobberyNpc, clerkid); Iter_Add(RobberyNpc, clerkid);

View File

@ -11,8 +11,8 @@
/* ** Hooks ** */ /* ** Hooks ** */
hook OnScriptInit( ) hook OnScriptInit( )
{ {
static const ROBBERY_BOT_PAY = 2000; // max pay from robbing bots static const ROBBERY_BOT_PAY = 2250; // max pay from robbing bots
static const ROBBERY_SAFE_PAY = 4500; // max pay from robbing safes static const ROBBERY_SAFE_PAY = 5000; // max pay from robbing safes
CreateMultipleRobberies( "Bank of San Fierro - Safe 1", floatround( float( ROBBERY_SAFE_PAY ) * 1.85 ), -1400.941772, 862.858947, 984.17200, -90.00000, g_bankvaultData[ CITY_SF ] [ E_WORLD ] ); CreateMultipleRobberies( "Bank of San Fierro - Safe 1", floatround( float( ROBBERY_SAFE_PAY ) * 1.85 ), -1400.941772, 862.858947, 984.17200, -90.00000, g_bankvaultData[ CITY_SF ] [ E_WORLD ] );
CreateMultipleRobberies( "Bank of San Fierro - Safe 2", floatround( float( ROBBERY_SAFE_PAY ) * 1.85 ), -1400.941772, 861.179321, 985.07251, -90.00000, g_bankvaultData[ CITY_SF ] [ E_WORLD ] ); CreateMultipleRobberies( "Bank of San Fierro - Safe 2", floatround( float( ROBBERY_SAFE_PAY ) * 1.85 ), -1400.941772, 861.179321, 985.07251, -90.00000, g_bankvaultData[ CITY_SF ] [ E_WORLD ] );