Skip to content

SetEntPropString - string_t support for source engine < 2007 #1287

@DarthMan

Description

@DarthMan

Help us help you

  • I have checked that my issue doesn't exist yet.
  • I have tried my absolute best to reduce the problem-space and have provided the absolute smallest test-case possible.
  • I can always reproduce the issue with the provided description below.

Environment

  • Operating System version: Windows 10
  • Game/AppID (with version if applicable): Any game engine < SE_ORANGEBOX
  • Current SourceMod version: Latest 1.11
  • Current SourceMod snapshot: 6562
  • Current Metamod: Source snapshot:

Description

Tried to use SetEntPropString on a custom-made entity, and I've got an error telling me that string_t is not supported by this game.

I look at the source code of Fortress Forever at first, as this game runs on an older engine, and it seems that the struct exists so normally should be supported. However, after a bit more investitagion, by looking here https://cs.alliedmods.net/sourcemod/source/core/smn_entities.cpp#2384 , it seems that SetEntPropString will throw an error if engine < orange box. It would be nice to have this feature added in the latest SourceMod versions, both 1.10 stable and 1.11 dev .

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