Merge pull request #58 from dusan01/features/jail-blow-xp

XP for blown jail/prison
This commit is contained in:
Lorenc Pekaj 2019-06-23 13:12:03 +10:00 committed by GitHub
commit bab102959c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -145,7 +145,7 @@ hook OnPlayerC4Blown( playerid, Float: X, Float: Y, Float: Z, worldid )
{ {
g_alcatrazTimestamp = g_iTime + 300; g_alcatrazTimestamp = g_iTime + 300;
//GivePlayerExperience( playerid, E_TERRORIST ); GivePlayerExperience( playerid, E_ROBBERY );
GivePlayerScore( playerid, 3 ); GivePlayerScore( playerid, 3 );
GivePlayerWantedLevel( playerid, 24 ); GivePlayerWantedLevel( playerid, 24 );
ach_HandleJailBlown( playerid ); ach_HandleJailBlown( playerid );
@ -165,7 +165,7 @@ hook OnPlayerC4Blown( playerid, Float: X, Float: Y, Float: Z, worldid )
g_jailData[ j ] [ E_BOMBED ] = true; g_jailData[ j ] [ E_BOMBED ] = true;
g_jailData[ j ] [ E_TIMESTAMP ] = g_iTime + 300; g_jailData[ j ] [ E_TIMESTAMP ] = g_iTime + 300;
//GivePlayerExperience( playerid, E_TERRORIST ); GivePlayerExperience( playerid, E_ROBBERY );
GivePlayerScore( playerid, 3 ); GivePlayerScore( playerid, 3 );
GivePlayerWantedLevel( playerid, 24 ); GivePlayerWantedLevel( playerid, 24 );
ach_HandleJailBlown( playerid ); ach_HandleJailBlown( playerid );