How to get the name of a disguised player?

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

    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.

pepper82

Member
Jan 26, 2017
272
1
18
Some of you may know the plugin "LibsDisguise". You can disguise a player as a zombie for example.

But in the on death event, skript does not tell you the name of the player if he died:

code_language.skript:
on death:
  set {_a} to the attacker
  broadcast "%{_a}%"

result ist <none> if the attacker is disguised.

Any suggestions?
 
Hey Pepper.
I haven't used libs disguise, but have you tried to set your variable as NAME of attacker?
That may work!?!
 
  • Like
Reactions: dudle
Status
Not open for further replies.