Jump to content
  • 0

Kill player reward


pinyinhuo

Question


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  54
  • Reputation:   0
  • Joined:  12/26/12
  • Last Seen:  

 

Hello,

i would like to request a script where, when you kill a player in a specific map, you gain tcg/coins. Hoping you could help me out! Thanks!

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

-	script	pvp_point	-1,{
	OnPCKilLEvent:
		if ( getcharid(3) != killedrid && strcharinfo(3) == "yourmanonamhere" ) {
			getotem 7227,1;
			dispbottom "One Tcg card";
		}
		end;
}

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  54
  • Reputation:   0
  • Joined:  12/26/12
  • Last Seen:  

32 minutes ago, Cyro said:

-	script	pvp_point	-1,{
	OnPCKilLEvent:
		if ( getcharid(3) != killedrid && strcharinfo(3) == "yourmanonamhere" ) {
			getotem 7227,1;
			dispbottom "One Tcg card";
		}
		end;
}

 

@Cyro , thanks! ❤️

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.07
  • Content Count:  354
  • Reputation:   8
  • Joined:  04/16/18
  • Last Seen:  

On 4/22/2017 at 11:22 PM, Cyro said:

-	script	pvp_point	-1,{
	OnPCKilLEvent:
		if ( getcharid(3) != killedrid && strcharinfo(3) == "yourmanonamhere" ) {
			getotem 7227,1;
			dispbottom "One Tcg card";
		}
		end;
}

 

How do I add other maps?

thanks!

Link to comment
Share on other sites

  • 0

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

-	script	pvp_point	-1,{
	OnPCKilLEvent:
		if ( getcharid(3) != killedrid && (strcharinfo(3) == "yourmanonamhere" || strcharinfo(3) == "yourmanonamhere2") ) {
			getotem 7227,1;
			dispbottom "One Tcg card";
		}
		end;
}

or

-	script	pvp_point	-1,{
	OnPCKilLEvent:
		if ( getcharid(3) != killedrid && strcharinfo(3) == "yourmanonamhere" ) {
			getotem 7227,1;
			dispbottom "One Tcg card";
		}
		else if ( getcharid(3) != killedrid && strcharinfo(3) == "yourmanonamhere2" ) {
			getotem 7227,1;
			dispbottom "One Tcg card";
		}
		end;
}

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  45
  • Reputation:   0
  • Joined:  08/27/18
  • Last Seen:  

-	script	pvp_point	-1,{
	OnPCKilLEvent:
		if ( getcharid(3) != killedrid && strcharinfo(3) == "yourmanonamhere" ) {
			getotem 7227,1;
			dispbottom "One Tcg card";
		}
		else if ( getcharid(3) != killedrid && strcharinfo(3) == "yourmanonamhere2" ) {
			getotem 7227,1;
			dispbottom "One Tcg card";
		}
		end;
}

 

this script how to random player to kill?

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...