Jump to content
  • 0

R> Simple PvP Announcer


fdmiracle

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  09/07/14
  • Last Seen:  

hello , i want to request some PvP Announcer script for pvp map .

example : announce rid2name(killerrid) +" has pawned "+ strcharinfo(0) +"'s head "+( (.announcemap)?("at "+ .@map$):""),atoi(.announceFlag$), .announceColor$;

this script from dota pvp ladder , but i dont want to record statistic because i just want the announcer .

thansk before

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

my bad, should be

OnPCKillEvent:
	if (killerrid != getcharid(3)){
        announce strcharinfo(0)+" killed "+rid2name(killedrid),bc_map;
    }
    end;

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

OnPCKillEvent:
	if (killerrid != getcharid(3)){
        announce rid2name(killerrid)+" killed "+rid2name(killedrid),bc_map;
    }
    end;

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  09/07/14
  • Last Seen:  

11 hours ago, Emistry said:

OnPCKillEvent:
	if (killerrid != getcharid(3)){
        announce rid2name(killerrid)+" killed "+rid2name(killedrid),bc_map;
    }
    end;

 

thx for the script , but i got some missing .

error log from mapserver "buildin_rid2name: invalid RID"

so in game the killer showing (null).

if i change ke OnPCKillEvent to OnPCDieEvent ,  killedrid change to (null) .

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.03
  • Content Count:  640
  • Reputation:   82
  • Joined:  04/07/14
  • Last Seen:  

On 12/7/2016 at 2:24 AM, fdmiracle said:

hello , i want to request some PvP Announcer script for pvp map .

example : announce rid2name(killerrid) +" has pawned "+ strcharinfo(0) +"'s head "+( (.announcemap)?("at "+ .@map$):""),atoi(.announceFlag$), .announceColor$;

this script from dota pvp ladder , but i dont want to record statistic because i just want the announcer .

thansk before

Now that im reading this. I need this as well. I dont like the stats as well. Just the announcer. What i want is for all map. Because my server is set to pk on.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...