Jump to content
stefan100

mangosone Killstreak System

Recommended Posts

Hi there.

local function PvPAnnouncer(event, killer, killed)
    SendAreaTriggerMessage("[PVP] |Hplayer:"..killer:GetName().."|h["..killer:GetName().."]|h killed |Hplayer:"..killed:GetName().."|h["..killed:GetName().."]|h")
end

RegisterPlayerEvent(6, PvPAnnouncer)

SendWorldMessage is sending the messages into the chat box. I tried with AreaTriggerMessage but it doesn't work since it has to be player:SendAreaTriggerMessage but it's not helpful... if it works it will send a message to the players, not to the people. I need a little help to make the script to show the messages in the top of the screen and there has to be any limit since it's better to spam in the top of the screen instead into the chat box but there will be spam too. The script needs a function to show that someone killed someone if he makes a killstreak or something same...I hope that you understand me, it will be good if you help me to finish it or it will be great if you give me advice and I'll try to finish it alone. That's how I can learn instead to asking the people daily, right? :)

Regards,
Deep Sky.

Edited by stefan100

Share this post


Link to post
Share on other sites

Im guessing you want to send a message in the middle of the screen for all players online.
There is no single function to do that. You must first get all players and send the message to each one individually.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Contact Us

To contact us click here
You can also email us at [email protected]

Privacy Policy | Terms & Conditions

Repositories

The Link to the master list
of MaNGOS repositories:
Copyright © getMaNGOS. All rights Reserved.

This website is in no way associated with or endorsed by Blizzard Entertainment®
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use