GetPlayerPoolSize
#1

Hi,

Код:
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);
    }
}
i get that j is unknow it means i need create it? new j; ?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)