Merged in bug-fixes-x (pull request #68)

Hotfixes
This commit is contained in:
Damen DeBerry 2019-01-28 00:51:12 +00:00 committed by Lorenc Pekaj
commit f01bb11459
3 changed files with 3 additions and 3 deletions

View File

@ -493,7 +493,7 @@ function BreakPlayerCuffsAttempt( playerid ) return BreakPlayerCuffs( playerid )
stock AwardNearestLEO( playerid, reason )
{
if ( ! IsPlayerConnected( playerid ) || playerid == INVALID_PLAYER_ID )
if ( ! IsPlayerConnected( playerid ) || playerid == INVALID_PLAYER_ID || GetPlayerWantedLevel( playerid ) < 2 )
return false;
new

View File

@ -432,7 +432,7 @@ stock RemoveSpecificPlayerWeapon( playerid, weaponid, bool:createpickup )
GetPlayerWeaponData( playerid, iSlot, iWeaponID[ iSlot ], iWeaponAmmo[ iSlot ] );
}
if ( createpickup )
if ( createpickup && iCurrentWeapon == iWeapon )
{
new
Float: X, Float: Y, Float: Z;

View File

@ -11,4 +11,4 @@
#include "irresistible\config\colors.pwn"
/* ** Migrations Manager ** */
#include "irresistible\config\migrations\_migrations.pwn"
//#include "irresistible\config\migrations\_migrations.pwn"