31.07.2010, 15:43
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);
}
}
}