make function not available to client
This commit is contained in:
@@ -392,7 +392,7 @@ bool function PlayerCanUseDecoy( entity ownerPlayer ) //For holopilot and HoloPi
|
|||||||
return false
|
return false
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
#if SERVER
|
||||||
void function PlayerUsesHoloRewind( entity player, entity decoy )
|
void function PlayerUsesHoloRewind( entity player, entity decoy )
|
||||||
{
|
{
|
||||||
thread PlayerUsesHoloRewindThreaded( player, decoy )
|
thread PlayerUsesHoloRewindThreaded( player, decoy )
|
||||||
@@ -442,4 +442,5 @@ void function PlayerUsesHoloRewindThreaded( entity player, entity decoy )
|
|||||||
mover.NonPhysicsMoveTo( decoy.GetOrigin(), PHASE_REWIND_PATH_SNAPSHOT_INTERVAL, 0, 0 )
|
mover.NonPhysicsMoveTo( decoy.GetOrigin(), PHASE_REWIND_PATH_SNAPSHOT_INTERVAL, 0, 0 )
|
||||||
mover.NonPhysicsRotateTo( decoy.GetAngles(), PHASE_REWIND_PATH_SNAPSHOT_INTERVAL, 0, 0 )
|
mover.NonPhysicsRotateTo( decoy.GetAngles(), PHASE_REWIND_PATH_SNAPSHOT_INTERVAL, 0, 0 )
|
||||||
player.SetVelocity( decoy.GetVelocity() )
|
player.SetVelocity( decoy.GetVelocity() )
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
Reference in New Issue
Block a user