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