increase payout for robberies
This commit is contained in:
parent
b2f9b51388
commit
53d7f274e8
@ -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);
|
||||||
|
@ -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 ] );
|
||||||
|
Loading…
Reference in New Issue
Block a user