SA-MP Forums Archive
Is it possible from either pawn or plugin level? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Is it possible from either pawn or plugin level? (/showthread.php?tid=320744)



Is it possible from either pawn or plugin level? - LetsOWN[PL] - 24.02.2012

Hello guys,
I've just a little question.
Is it possible to freeze player's game?
I mean not to freeze player from moving, but to freeze the whole game.
Possible or not?


Thanks,
Greetz,
LetsOWN



Re: Is it possible from either pawn or plugin level? - nuriel8833 - 24.02.2012

Well if freeze all players its like you're freezing the whole game,so yes.


Re: Is it possible from either pawn or plugin level? - varuncoolrule - 24.02.2012

I didn't understand freeze Whole Game What you want to do?


Re: Is it possible from either pawn or plugin level? - T0pAz - 24.02.2012

I don't think it's possible from PAWN because it's fully serversided.


Re: Is it possible from either pawn or plugin level? - nuriel8833 - 24.02.2012

Quote:
Originally Posted by varuncoolrule
Посмотреть сообщение
I didn't understand freeze Whole Game What you want to do?
pawn Код:
if(strcmp(cmd, "/freezegame", true) == 0)
    {
        for(new j=0;j<MAX_PLAYERS;j++) { if(IsPlayerConnected(j)) return TogglePlayerControllable(j, 0); }
        return 1;
    }
thats the best I can do.


Re: Is it possible from either pawn or plugin level? - LetsOWN[PL] - 24.02.2012

@all thank you all for response, I just wondered.
@nuriel, toggleplayercontrollable is not as same as 'lag' the whole game.
Why I need to know how to? I can not say I would have lost my patent.
Just kidding.
Wanted to do something kinda server-game-pause, aka in BF2.
Anyway, thx all.

Greetz,
LetsOWN



Re: Is it possible from either pawn or plugin level? - nuriel8833 - 24.02.2012

Quote:
Originally Posted by LetsOWN[PL]
Посмотреть сообщение
@all thank you all for response, I just wondered.
@nuriel, toggleplayercontrollable is not as same as 'lag' the whole game.
Why I need to know how to? I can not say I would have lost my patent.
Just kidding.
Wanted to do something kinda server-game-pause, aka in BF2.
Anyway, thx all.

Greetz,
LetsOWN
well like I said its impossible,but the best thing that is the closest to what you said is freezing all players.