passive players will not be able to pick up weapon, ammo and money drops.

This commit is contained in:
Steven Howard 2018-11-10 09:56:47 +00:00
parent ddd1cf38e8
commit 7197c3289b

View File

@ -133,6 +133,10 @@ hook OnPlayerPickUpDynPickup( playerid, pickupid )
if ( p_PlayerPickupDelay[ playerid ] > GetServerTime( ) )
return 1;
// if player is in passive mode cannot pickup weapons, ammo
if ( IsPlayerPassive( playerid ) )
return 1;
// Player Drops
foreach ( new dropid : weapondrop )
{