Freeze players till a game is started?
#6

Код:
public OnGameModeInit() //after the GMX
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
TogglePlayerControllable(i,0);
}
SetTimer("Unfreeze",300000,0);
return 1;
}
Код:
forward Unfreeze();
public Unfreeze()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
TogglePlayerControllable(i,1);
}
return 1;
}
Reply


Messages In This Thread
Freeze players till a game is started? - by -Rebel Son- - 01.06.2010, 19:45
Re: Freeze players till a game is started? - by Naxix - 01.06.2010, 20:12
Re: Freeze players till a game is started? - by -Rebel Son- - 01.06.2010, 20:14
Re: Freeze players till a game is started? - by Naxix - 01.06.2010, 20:17
Re: Freeze players till a game is started? - by -Rebel Son- - 01.06.2010, 20:20
Re: Freeze players till a game is started? - by aircombat - 01.06.2010, 21:02

Forum Jump:


Users browsing this thread: 2 Guest(s)