GetActorPoolSize

GetActorPoolSize

Description:
Function GetActorPoolSize gets the highest actorid created on the server.
Function GetActorPoolSize was added in 0.3.7 and will not work in earlier versions!


Parameters:
(This function has no parameters.)


Return Values:
The highest actorid created on the server or 0 if there are no created actors.


Examples:
SetAllActorsHealth(Float:health)
{
    for(new i = 0, j = GetActorPoolSize(); i <= j; i++)
    {
        if(IsValidActor(i))
        {
            SetActorHealth(i, health);
        }
    }
}


Related Functions
The following functions may be useful, as they are related to this function in one way or another.


Related Callbacks
The following callbacks might be useful as well, as they are related to this callback in one way or another.