Skip to content

Error using SetMapIcon method #364

Closed

Description

@DevD4v3

When using the SetMapIcon method in any method defined in the Player class, the following error occurs:
The name does not exist in the current context.

What could be the problem?

Activity

  1. ikkentim commented on Sep 28, 2020

    @ikkentim
    Owner

    The method does not exist in SampSharp.GameMode. I should add it.

  2. DevD4v3 commented on Sep 28, 2020

    @DevD4v3
    ContributorAuthor

    I had already put the namespace:
    using SampSharp.GameMode.World;
    In the same way it keeps giving the same error

  3. ikkentim commented on Sep 28, 2020

    @ikkentim
    Owner

    That's because, like I tried to explain, I forgot to add the method to the BasePlayer class. I'll add it in the next update.

  4. added this to the 0.9.0 milestone on Sep 28, 2020
  5. modified the milestones: 0.9.0, 0.10.0 on Dec 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions