1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT??:

    You can always check our our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Skellet Spawn Citizen

Discussion in 'Skript' started by Zoot, Feb 13, 2018.

Tags:
Thread Status:
Not open for further replies.
  1. Zoot

    Zoot Member

    Joined:
    Oct 21, 2017
    Messages:
    5
    Likes Received:
    2
    Medals:
    Addon:
    - Skript V2.2-dev32d
    - Skellett 1.9.6b
    - Citizens v2.0.16-SNAPSHOT (build 1267)

    Have you tried searching the docs? Yes
    Have you tried searching the forums? Yes

    I've enabled Citizens in the config, used the example on skunity documentation which is:

    Code (Skript):
    1. command /testing:
    2.     trigger:
    3.         set {_npc} to a npc with name "test" and entity type PLAYER
    4.         spawn npc {_npc} at player's location
    This is the example on the documentation but gives me a this error:

    Code (Skript):
    1. Can't understand this expression: ('a npc with name "Test" and entity type PLAYER')
    Not sure if the skellet documentation is not updated or I'm doing something wrong, Skellet Skript and Citizens are loaded correctly with no console errors on load
    --- Double Post Merged, Feb 13, 2018, Original Post Date: Feb 13, 2018 ---
    @LimeGlass
     
  2. LimeGlass

    Supporter Addon Developer

    Joined:
    Jan 24, 2017
    Messages:
    605
    Likes Received:
    419
    Medals:
    Place the PLAYER part in a string, it supports type and string, some servers don't accept the type for some reason so a string option may be used.
     
Thread Status:
Not open for further replies.
Loading...