maximum player can drop is $25K
This commit is contained in:
parent
2117e37235
commit
2f6202a4a0
@ -100,6 +100,11 @@ hook OnPlayerDeath( playerid, killerid, reason )
|
|||||||
new
|
new
|
||||||
player_money = floatround( float( GetPlayerCash( playerid ) ) * 0.1 );
|
player_money = floatround( float( GetPlayerCash( playerid ) ) * 0.1 );
|
||||||
|
|
||||||
|
// throttle drop amount to 25K
|
||||||
|
if ( player_money > 25000 ) {
|
||||||
|
player_money = 25000;
|
||||||
|
}
|
||||||
|
|
||||||
if ( player_money > 0 )
|
if ( player_money > 0 )
|
||||||
{
|
{
|
||||||
// half the amount lost through secure wallet
|
// half the amount lost through secure wallet
|
||||||
|
Loading…
Reference in New Issue
Block a user