Jump to content
  • 0

WoE Reward when kill someone


Question

Posted

hi guys i need a script that during WoE if you kill someone you will get 3x TCG works only during WoE or in payg_cas02 and payg_cas03!

 

i tried to search for this and i found 2 but not working.. i hope you can help me! i will really appreciate it!

8 answers to this question

Recommended Posts

  • 0
Posted
5 hours ago, Quazy said:

I also tried this  one but its not working


-	script	kjbfksjhfkd	-1,{
OnPCKillEvent:
	if (killerrid != getcharid(3)) {
		if (( agitcheck() || agitcheck2() ) && compare(strcharinfo(3),"g_cas")) {
			getitem 512,3;
		}
    }
    end;

You're missing a curly at the end?

-	script	kjbfksjhfkd	-1,{
OnPCKillEvent:
	if (killerrid != getcharid(3))
		if (( agitcheck() || agitcheck2() ) && compare(strcharinfo(3),"g_cas"))
			getitem 512,3;
	end;
}

 

  • Upvote 1
  • 0
Posted (edited)
OnPCKillEvent:
	if (killerrid != getcharid(3)) {
		if (( agitcheck() || agitcheck2() ) && compare(strcharinfo(3),"g_cas")) {
			getitem 512,3;
		}
    }
    end;

 

Edited by Emistry
  • 0
Posted
20 hours ago, Emistry said:

OnPCKillEvent:
	if (killerrid != getcharid(3)) {
		if (( agitcheck() || agitcheck2() ) && compare(strcharinfo(3),"cas_g")) {
			getitem 512,3;
		}
    }
    end;

 

not working.. player still cant get item during woe when they killed someone

  • 0
Posted

sometime it's good thing if you did check the previous edited post.

compare(strcharinfo(3),"cas_g")

has been fixed to

compare(strcharinfo(3),"g_cas")

 

  • Upvote 1
  • 0
Posted (edited)
8 hours ago, Emistry said:

sometime it's good thing if you did check the previous edited post.


compare(strcharinfo(3),"cas_g")

has been fixed to


compare(strcharinfo(3),"g_cas")

 

thanks for reply emisty! but still player cant get any items when they killed someone during war of emperium :(

 

321.png

i also tried this  one but its not working

-	script	kjbfksjhfkd	-1,{
OnPCKillEvent:
	if (killerrid != getcharid(3)) {
		if (( agitcheck() || agitcheck2() ) && compare(strcharinfo(3),"g_cas")) {
			getitem 512,3;
		}
    }
    end;

 

Edited by Quazy
screen shot
  • 0
Posted
On 12/9/2016 at 5:23 PM, Skorm said:

You're missing a curly at the end?


-	script	kjbfksjhfkd	-1,{
OnPCKillEvent:
	if (killerrid != getcharid(3))
		if (( agitcheck() || agitcheck2() ) && compare(strcharinfo(3),"g_cas"))
			getitem 512,3;
	end;
}

 

it works now! thank you scorm and emistry! :)

  • 0
Posted
2 hours ago, rhoan57 said:

Where do i put this script? in the woe_controller??

 

You can make your own text file. And put it here npc/custom/ and go to your scripts_custom.conf and input your file there.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...