disables spawn protection in pb
This commit is contained in:
parent
c9464706ef
commit
65fd8ac780
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user