Jump to content

Skript + Citizens CMD Broken?


MinerBlox

Recommended Posts

on right click:
	#if im correct, citizen uses players,, so check that the entity is a player

	entity is a player

	# can check name of livingEntity

	if name of entity = "name here":
		player command "command"

	if name of entity = "other name":
		player command "command 2"

although since this might have conflict issues with players

to solve this, use skRayFall's npc click event / npc name condition

 

#https://skripthub.net/docs/?id=100

on NPC right click:
	#code

on NPC left click:
	#code	

#also use the https://skripthub.net/docs/?id=113
# condition from skrayfall...

#example:

on citizen right click:
	NPC is named "hi":
		#code

 

Edited by BluBoy3ch0

 


[PATRON] Echology

image.png.25b196fc30999f9133398315a98c2b11.png

Sponk = Weeb


 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...