How to freeze all?
#2

pawn Код:
CMD:Freezeall(playerid,params[])
{
    for(new i=0; i < MAX_PLAYERS; i++)
    {
        if (IsPlayerConnected(i))
        {
            TogglePlayerControllable(i,0);
        }
    }
}
CMD:unFreezeall(playerid,params[])
{
    for(new i=0; i < MAX_PLAYERS; i++)
    {
        if (IsPlayerConnected(i))
        {
            TogglePlayerControllable(i,1);
        }
    }
}
Reply


Messages In This Thread
How to freeze all? - by [Ha]Lommo - 31.07.2010, 15:41
Re: How to freeze all? - by Kar - 31.07.2010, 15:43
Re: How to freeze all? - by [Ha]Lommo - 31.07.2010, 15:53

Forum Jump:


Users browsing this thread: 1 Guest(s)