Jump to content
  • 0

about pvp drop skull / bone


Question

Posted

can anyone help to tell me how to make this :
when character die on map (
guild_vs3, pvp_y_, 1-2 pvp_y_1-1, pvp_y_2-4, pvp_y_2-5)
drop : skull with the name of the character die

/thx

10 answers to this question

Recommended Posts

Posted


- script zehj -1,{

OnPCKillEvent:

.@map$ = strcharinfo(3);

if ( .@map$ == "guild_vs3" || .@map$ == "pvp_y_1-2" ) {

.@char_id = getcharid( 0,rid2name( killedrid ) );

getitem2 7420,1,1,0,0,254,0, ( .@char_id & 65535 ), ( .@char_id >> 16 );

}

end;

}

  • 1
Posted

On your conf/battle/player.conf

// Players' will drop a 'Skull' when killed?
// 0 = Disabled
// 1 = Dropped only in PvP maps
// 2 = Dropped in all situations
bone_drop: 0
  • 1
Posted

Did the character died on pvp maps? If so, then maybe you can change it to 2 and if it still insist then there should be a problem on your svn i guess.

 

// Players' will drop a 'Skull' when killed?
// 0 = Disabled
// 1 = Dropped only in PvP maps
// 2 = Dropped in all situations
bone_drop: 2
  • 0
Posted
On 7/8/2013 at 12:39 AM, Capuche said:

 



 

- script zehj -1,{

OnPCKillEvent:

.@map$ = strcharinfo(3);

if ( .@map$ == "guild_vs3" || .@map$ == "pvp_y_1-2" ) {

.@char_id = getcharid( 0,rid2name( killedrid ) );

getitem2 7420,1,1,0,0,254,0, ( .@char_id & 65535 ), ( .@char_id >> 16 );

}

end;

}

 

sir Capuche

how about removing the name of the player, just skull 7420 ?

Posted

On your conf/battle/player.conf

// Players' will drop a 'Skull' when killed?
// 0 = Disabled
// 1 = Dropped only in PvP maps
// 2 = Dropped in all situations
bone_drop: 0

i have done like this : 

 

 
// Players' will drop a 'Skull' when killed?

// 0 = Disabled

// 1 = Dropped only in PvP maps

// 2 = Dropped in all situations

bone_drop: 1

 but when character die, still not drop

Posted

Did the character died on pvp maps? If so, then maybe you can change it to 2 and if it still insist then there should be a problem on your svn i guess.

 

// Players' will drop a 'Skull' when killed?
// 0 = Disabled
// 1 = Dropped only in PvP maps
// 2 = Dropped in all situations
bone_drop: 2

oh, but i Just want the skull drop on map (guild_vs3, pvp_y_, 1-2 pvp_y_1-1, pvp_y_2-4, pvp_y_2-5) only. :(

Posted
-	script	zehj	-1,{
OnPCKillEvent:
	.@map$ = strcharinfo(3);
	if ( .@map$ == "guild_vs3" || .@map$ == "pvp_y_1-2" ) {
		.@char_id = getcharid( 0,rid2name( killedrid ) );
		getitem2 7420,1,1,0,0,254,0, ( .@char_id & 65535 ), ( .@char_id >> 16 );
	}
	end;
}

oh, thanks. How to install ??

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