Help...!!!!

You want to disable nojoin command per level?

Haven't tried this but one way to do it is to do the opposite: set "nojoin" with script and enable/disable it in desired level (or time).

The script works like this: check which player is active and disable controls for inactive players.

For reference, here's a function to disable control for certain player:

void DeControl(int P, int Flag)
{// Activates or deactivates control for defined player
// P : Player index starting from 0
// Flag : Control flag, 0 = inactive 1 = active
    int Player = getplayerproperty(P, "entity");

    if (Player != NULL()){
      changeentityproperty(Player,"noaicontrol",Flag);
    }
}

(after some tests)

It turns out this function doesn't work the way I wanted it. Sorry :)
 
Back
Top Bottom