#this is lagging my server
1 messages · Page 1 of 1 (latest)
i dont even know what im reading
i cant finish my update until i know whats happening so lmk
could you share the code that's causing this?
i just looked into that
im pretty sure its smth to do with this
on right click:
player is player("ayubcore")
event-entity.hasMetadata("NPC") is true
event-entity is {@npc_name}
the rest of the code is just send x to player so i dont think that means anything
do you have skript-reflect and imported all the required stuff? (I'm not very experienced with it myself tho)
it'd probably be better for the skript parser to use name of player ... instead of comparing to the player function
if you're using skript metadata, you can use this expression instead of reflect
iirc using event-entity gets the player who called the event, so you're probably looking for clicked entity
ok i tried alot of things, what u said and also citizen id of clicked entity is 59
all same issue
same console log