Skip to content

NetworkHasControlOfEntity Issues #4

@Vampurica

Description

@Vampurica

The pull request that was merged #1 has an issue here where it may never return.
In my testing this can cause beds to not delete if the script gets locked in this loop and the vehicle is then deleted. There should be a timeout or something similar put into it to prevent this.

while not NetworkHasControlOfEntity(newCar) do Wait(0) end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions