We've moved! Join us as we continue development on our new site at umod.org!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Hook list for legacy?

Discussion in 'Hurtworld Discussion' started by caiio.cos, Jun 2, 2018.

  1. where do I find the list of updated hooks for legacy?
     
  2. I'm trying to fix a plugin that has an error in some effects hooks, but I'm kind of confused about updating the hook

    The hook line is the one, I did not understand how I should update it:

    Code:
    void cmdrankplayer(PlayerSession session, string command, string[] args)
    the plugin is running without errors, but at the time of performing some task, it presents this error
     
    Last edited by a moderator: Jun 3, 2018
  3. That plugin is outdated... If you bought it from the original creator you can ask him for an update.
    If you downloaded it for free, he wont help you with that.

    I assume you got it for free, so you will probably have to replace the "hurt.SendChatMessage" with "Player.Message" and the "hurt.BroadcastServer" with "Server.Broadcast" to fix this error.
    See this link for more information: Solved - SendChatMessage and Broadcast usage?