Skip to content

Error: "Array index out-of-bounds (index -1, limit 64)" in file store-loadouts.sp #12

Description

@Triggerhacks

The store-loadouts.sp seems to have an error occur upon "Event_PlayerSpawn" on line 129.

This should easily be fixed by checking for "IsValidClient" instead of "IsFakeClient"

I fixed this in the attached script :)
(The attached script is in .txt instead of .sp as GitHub does not support .sp)
store-loadouts.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions