Fireman and Lumberjack XP

This commit is contained in:
Dusan 2019-06-03 13:51:25 +02:00
parent 7fe5a21de8
commit 12d5e3b15b
2 changed files with 3 additions and 2 deletions

View File

@ -11,7 +11,7 @@
/* ** Definitions ** */
#define MAX_FIRES ( 10 )
#define FIRE_EXTINGUISH_PAYOUT ( 4000 )
#define FIRE_EXTINGUISH_PAYOUT ( 6000 )
/* ** Variables ** */
enum E_FIRE_DATA
@ -91,7 +91,7 @@ hook OnPlayerUpdateEx( playerid )
ach_HandleExtinguishedFires( playerid );
SendClientMessageToAllFormatted( -1, "{A83434}[FIREMAN]"COL_WHITE" %s(%d) has earned "COL_GOLD"%s"COL_WHITE" for extinguishing a house fire.", ReturnPlayerName( playerid ), playerid, cash_format( money_earned ) );
GivePlayerScore( playerid, 2 );
//GivePlayerExperience( playerid, E_FIREMAN );
GivePlayerExperience( playerid, E_ROLEPLAY, 0.5 );
GivePlayerCash( playerid, money_earned );
StockMarket_UpdateEarnings( E_STOCK_GOVERNMENT, money_earned, 0.15 );
HouseFire_Remove( i );

View File

@ -243,6 +243,7 @@ CMD:wood( playerid, params[ ] )
g_treeData[ i ] [ E_CHOPPED ] = true;
count++;
GivePlayerCash( playerid, 250 );
GivePlayerExperience( playerid, E_ROLEPLAY, 0.2 );
SendServerMessage( playerid, "Tree successfully chopped into smaller pieces. Go to the wood chipper and type "COL_ORANGE"/wood chip{FFFFFF}!" );
break;
}