01.10.2009, 16:03
Quote:
Originally Posted by SpiderPork
1.) Make a new variable on top, outside of all functions; new InDm[MAX_PLAYERS];
Make sure to reset it (InDM[playerid] = 0 ![]() 2.) Under the DM zone command, put this: pawn Code:
3.) You should use a checkpoint streamer, use this. |
If somebody type /dm, that player freezes for 3 seconds, and automatically unfreezed 3 seconds later.
And:
Quote:
Originally Posted by AG Adam
Example: InDM[playerid]
And, changing it at every playerid, when enter a DM zone, or exit. If a player InDM[playerid]=1, he can't use commands. I want this, too. If a player enters a DM zone, freeze the player about 3 seconds, then unfreeze. I finded it at some hungarian forum, but that not works. |