02.06.2015, 13:28
Hi,
i get that j is unknow it means i need create it? new j; ?
Код:
FreezeAll() { for(new i = 0, j = GetPlayerPoolSize(); i <= j; i++) // note that we assign the return value to a new variable (j) to avoid calling the function with each iteration { TogglePlayerControllable(i, 0); } }