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

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