Solved Npc Spawn

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Normalguy

Active Member
Apr 19, 2018
98
0
0
24
Skript Version : Skript version 2.1.2
Skript Author: Njol
Minecraft Version: 1.8.8

code_language.skript:
set {_npc} to a npc with name "%random player out of all players%" and entity type "PLAYER"

ERROR
code_language.skript:
'set {_npc} to a citizen with name "%random player out of all players%" and entity type "PLAYER"' is not a boolean (yes/no) (police.sk, line 840: set {_npc} to a citizen with name "%random player out of all players%" and entity type "PLAYER"')
plugins:
MundoSK, WildSkript, skDragon, SkQuery
Skellett, skRayFall, TuSKe Citizens

Can someone fix this error?
If it is impossible can someone tell me different way?
(I don't want to change my server version)
 
Have you enabled npcs in the skellett config file?
 
Try this:
code_language.skript:
set {_npc} to a npc with name "%random element out of all players%" and entity type "PLAYER"
 
  • Like
Reactions: Itqly_
Status
Not open for further replies.