Checkmate Posted September 30, 2013 Posted September 30, 2013 Hi rAthena... Can someone help me create ot sharing mybe... Some script that can make Skull/Bone go direct into killer inventory on pvp...??Not this on // Players' will drop a 'Skull' when killed? // 0 = Disabled // 1 = Dropped only in PvP maps // 2 = Dropped in all situations bone_drop: 0 Thanks guys.. ^ ^ Quote
Emistry Posted October 1, 2013 Posted October 1, 2013 OnPCKillEvent: if( strcharinfo(3) != "your map" ) end; getnameditem 7420,rid2name( killedrid ); 1 Quote
0 Shadow Rebom Posted October 21, 2019 Posted October 21, 2019 how to make skull drop no name ? Quote
0 DejongsBR Posted September 13, 2024 Posted September 13, 2024 Aqui nao pegou ... Tem como anexar a pasta do script aqui ? Acho que o espaços podem estar gerando erros Quote
Emistry Posted September 30, 2013 Posted September 30, 2013 OnPCKillEvent: getitem2 7420, 1, 1, 0, 0, 254, 0, killedrid & 65535, killedrid >> 16 ; not sure if this work... or try this OnPCKillEvent: getnameditem 7420,rid2name( killedrid ); Quote
Moriarty Posted September 30, 2013 Posted September 30, 2013 Don't forget to add a check for the user map Quote
Checkmate Posted October 1, 2013 Author Posted October 1, 2013 PcPocket Don't forget to add a check for the user map How can i do that sir??..?? Emistry OnPCKillEvent:getnameditem 7420,rid2name( killedrid ); This mybe can help.. ^ ^ Tq sir.. But how can i connect with spesific map sir??? Quote
Patskie Posted October 1, 2013 Posted October 1, 2013 Add a check if ( strcharinfo(3) != "your map" ) end; Quote
Checkmate Posted October 1, 2013 Author Posted October 1, 2013 OnPCKillEvent: getnameditem 7420,rid2name( killedrid ); if ( strcharinfo(3) != "your map" ) end; Like this sir patskie?? And how to put in all map pvp.. Cuz map pvp are many... Can it be like this??..?? OnPCKillEvent: getnameditem 7420,rid2name( killedrid ); if ( strcharinfo(3) != "your map" ) end; if ( strcharinfo(3) != "your map" ) end; if ( strcharinfo(3) != "your map" ) end; Im really2 confuse about this... T.T Sorry.... Quote
Checkmate Posted October 1, 2013 Author Posted October 1, 2013 (edited) Yay... At last... Thank You So Much sir... ^ ^But... Sir Emistry Im already insert this script and test but player did not recieve any of skull...How was that?..?Did anything i need to double check...?Suggestion??? Edited October 1, 2013 by CheckMate Quote
Patskie Posted October 1, 2013 Posted October 1, 2013 Tested on my local server and it works : - script Sample -1,{ OnPCKillEvent: if ( strcharinfo(3) != "prontera" ) end; getnameditem 7420, rid2name( killedrid ); end; } If player killed another player outside prontera the script will not be triggered. If they killed each other within prontera then the script will be triggered. Here is my screenshot for reference : Quote
Checkmate Posted October 1, 2013 Author Posted October 1, 2013 (edited) zzzzNeed to put this??? - script Sample -1,{ } my script was only this OnPCKillEvent: if( strcharinfo(3) != "guild_vs3","guild_vs2","guild_vs5","guild_vs4","guild_vs1-2","guild_vs3","guild_vs1","pvp_y_8-2","1@orcs" ) end; getnameditem 7420,rid2name( killedrid ); Trololololololol.. =="Im try again.. ^ ^Be back if got error ^ ^**Edited**Done... Perfectly.. ^ ^ Thanks SIr Patskie Cuz show the using of script Sir Emistry Cuz showing me main of script Btw.. How can i put the other 3 pvp map in this same script??..?? Edited October 1, 2013 by CheckMate Quote
Emistry Posted October 1, 2013 Posted October 1, 2013 if( strcharinfo(3) == "prontera1" || strcharinfo(3) == "prontera2" || strcharinfo(3) == "prontera3" ){ getnameditem 7420, rid2name( killedrid ); } end; or if( strcharinfo(3) != "prontera1" && strcharinfo(3) != "prontera2" && strcharinfo(3) != "prontera3" ) end; getnameditem 7420, rid2name( killedrid ); end; Quote
n0stalgia Posted October 17, 2013 Posted October 17, 2013 if( strcharinfo(3) == "prontera1" || strcharinfo(3) == "prontera2" || strcharinfo(3) == "prontera3" ){ getnameditem 7420, rid2name( killedrid ); } end; or if( strcharinfo(3) != "prontera1" && strcharinfo(3) != "prontera2" && strcharinfo(3) != "prontera3" ) end; getnameditem 7420, rid2name( killedrid ); end; sir why its not working on me? Quote
Capuche Posted October 20, 2013 Posted October 20, 2013 Check your mapserv and post your error, if there is. Quote
dennis259 Posted August 3, 2014 Posted August 3, 2014 OnPCKillEvent: if( strcharinfo(3) != "your map" ) end; getnameditem 7420,rid2name( killedrid ); how to put this on my server? Quote
Checkmate Posted August 6, 2014 Author Posted August 6, 2014 OnPCKillEvent: if( strcharinfo(3) != "your map" ) end; getnameditem 7420,rid2name( killedrid ); how to put this on my server? Just execute this in your server *My setting* *You can change the map name in order to make it auto skull into iventory* - script auto_skullin -1,{ OnPCKillEvent: if( strcharinfo(3) != "guild_vs2" && strcharinfo(3) != "guild_vs5" && strcharinfo(3) != "guild_vs4" && strcharinfo(3) != "guild_vs1-2" && strcharinfo(3) != "guild_vs3" && strcharinfo(3) != "1@orcs" && strcharinfo(3) != "guild_vs1" && strcharinfo(3) != "pvp_y_8-2" ) end; getnameditem 7420, rid2name( killedrid ); end; } Quote
dennis259 Posted August 7, 2014 Posted August 7, 2014 OnPCKillEvent: if( strcharinfo(3) != "your map" ) end; getnameditem 7420,rid2name( killedrid ); how to put this on my server? Just execute this in your server *My setting* *You can change the map name in order to make it auto skull into iventory* - script auto_skullin -1,{ OnPCKillEvent: if( strcharinfo(3) != "guild_vs2" && strcharinfo(3) != "guild_vs5" && strcharinfo(3) != "guild_vs4" && strcharinfo(3) != "guild_vs1-2" && strcharinfo(3) != "guild_vs3" && strcharinfo(3) != "1@orcs" && strcharinfo(3) != "guild_vs1" && strcharinfo(3) != "pvp_y_8-2" ) end; getnameditem 7420, rid2name( killedrid ); end; } thank thank..... Quote
Checkmate Posted August 7, 2014 Author Posted August 7, 2014 OnPCKillEvent: if( strcharinfo(3) != "your map" ) end; getnameditem 7420,rid2name( killedrid ); how to put this on my server? Just execute this in your server *My setting* *You can change the map name in order to make it auto skull into iventory* - script auto_skullin -1,{ OnPCKillEvent: if( strcharinfo(3) != "guild_vs2" && strcharinfo(3) != "guild_vs5" && strcharinfo(3) != "guild_vs4" && strcharinfo(3) != "guild_vs1-2" && strcharinfo(3) != "guild_vs3" && strcharinfo(3) != "1@orcs" && strcharinfo(3) != "guild_vs1" && strcharinfo(3) != "pvp_y_8-2" ) end; getnameditem 7420, rid2name( killedrid ); end; } thank thank..... Its ok... ^ ^ Good Luck.. ^ ^ Quote
Question
Checkmate
Hi rAthena...
Can someone help me create ot sharing mybe... Some script that can make Skull/Bone go direct into killer inventory on pvp...??
Not this on
Thanks guys.. ^ ^
18 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.