Skip to content

FindByUserid function not working #3

Open
@zurgerking091

Description

@zurgerking091

I've been working on trying to get this function to work for awhile now and still can't get it to work,
After passing userid from player_hurt, which seems to work, I get all the players and bots in the game and their scopes, but after lots of debugging I found out that this is the problem
if (("userid" in scope) && scope.userid == userid) { return ent; }
Neither of the statements passed through this if statement are true.

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