disables spawn protection in pb

This commit is contained in:
Stev 2018-12-24 18:22:55 +00:00
parent c9464706ef
commit 65fd8ac780

View File

@ -26,6 +26,8 @@ hook OnPlayerUpdateEx( playerid )
} }
hook OnPlayerSpawn( playerid ) hook OnPlayerSpawn( playerid )
{
if ( ! IsPlayerInPaintBall( playerid ) )
{ {
// Toggle Anti Spawn Kill // Toggle Anti Spawn Kill
DisableRemoteVehicleCollisions( playerid, p_AdminOnDuty{ playerid } ); DisableRemoteVehicleCollisions( playerid, p_AdminOnDuty{ playerid } );
@ -38,6 +40,7 @@ hook OnPlayerSpawn( playerid )
// Toggle Passive Mode // Toggle Passive Mode
SetPlayerPassiveMode( playerid ); SetPlayerPassiveMode( playerid );
}
return 1; return 1;
} }