 |
|
Junior Member
|

06-24-2014
, 19:32
Re: [BUG] JailBreak Mod by Pastout
|
#6
|
Quote:
Originally Posted by Compidence
As far as events go, I found two types. One referred to as days, and others are assigned through commands, such as gungame, boxmatch and snowballwar.
Try replacing the last 3 lines in the code above with the following:
PHP Code:
if(g_iDay[ TOTAL_DAYS ] == DAY_NONE || !g_bGunGame || !g_bBoxMatch || !g_bSnowballWar || !g_bInLr)
{
ExecuteHamB(Ham_Killed, victim, 0, shouldgib);
set_pev(attacker, pev_frags, pev(attacker, pev_frags) + 1.0);
return HAM_SUPERCEDE;
}
The code says, If:
1- we have a DAY_NONE which as the name implies equals no day event, just a regular round.
Or 2- It's not gungame, boxmatch or snowballball.
Or 3- No last request is taking place.
Then kill the victim and supersede the original kill event.
|
Thank You!
|
|
|
|