you can ent_next through the list of your entity's, and phent_enable them if they are phsyics entity's.
quick pseudocode (not tested, might have to fix this):
#define PHYSICAL_ENT skill1 // change this to the skill you want
void pause_PH_ents()
{
ENTITY* pauser = ent_next(NULL); // retrieve first entity
while (pauser) // repeat until there are no more entities
{
if (pauser.PHYSICAL_ENT > 0) {
phent_enable(pauser, 0); //make entity pause
}
pauser = ent_next(pauser); //get next entity
}
}
that should do the trick. call this function to freeze your physics functions.
make sure that every physics entity you are using has:
that initialises it as being a physics entity for the freeze function.
if you need to unfreeze them, copy the function and set the second option in phent_enable to 1, instead of 0.
hope that helps.
regards,