Reducto Posted July 27, 2014 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 231 Reputation: 9 Joined: 12/16/11 Last Seen: August 10, 2016 Share Posted July 27, 2014 Hello, Can anybody help me. I want a npc to check if party leader is dead. Like when party leader is dead. the npc will say "Your party leader is dead". Thank you. Quote Link to comment Share on other sites More sharing options...
Capuche Posted July 27, 2014 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted July 27, 2014 Use OnPCDieEvent to get the account id of the player dead + getpartyleader command to check if he is the leader of his party + getpartymember and isloggedin commands to send a message to the members onlines Quote Link to comment Share on other sites More sharing options...
Reducto Posted July 27, 2014 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 231 Reputation: 9 Joined: 12/16/11 Last Seen: August 10, 2016 Author Share Posted July 27, 2014 Solved. Thanks ! Quote Link to comment Share on other sites More sharing options...
Question
Reducto
Hello,
Can anybody help me. I want a npc to check if party leader is dead.
Like when party leader is dead. the npc will say "Your party leader is dead".
Thank you.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.