[?] Creating variable, freezer when enter a DM zone, if checkpoint=mycp
#2

1.) Make a new variable on top, outside of all functions; new InDm[MAX_PLAYERS];
Make sure to reset it (InDM[playerid] = 0 under OnPlayerDisconnect and OnPlayerDeath.

2.) Under the DM zone command, put this:
pawn Code:
InDM[playerid] = 1;
Also set a timer and use TogglePlayerControllable to freeze/unfreeze the player.

3.) You should use a checkpoint streamer, use this.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)