buda Posted July 8, 2012 Posted July 8, 2012 Drop all the ygg from inventory when a player dies in a certain map... please help me master scripters... 1. then a player die in a certain map, he will automatically drop All his ygg... Quote
Emistry Posted July 8, 2012 Posted July 8, 2012 try this - script Sample -1,{ OnPCDieEvent: if( countitem(607) ){ getmapxy( .@Map$,.@X,.@Y,0 ); makeitem 607,countitem(607),.@Map$,.@X,.@Y; delitem 607,countitem(607); } end; } Quote
plankt Posted July 10, 2012 Posted July 10, 2012 or this (if you want to restrict it to a certain map) -<tab>script<tab>Sample<tab>-1,{ OnPCDieEvent: getmapxy( .@map$, .@x, .@y, 0 ); if( .@map$ == "mapname" && countitem(607) ){ makeitem 607, countitem(607), .@map$, .@x, .@y; delitem 607, countitem(607); } end; } Quote
Question
buda
Drop all the ygg from inventory when a player dies in a certain map...
please help me master scripters...
1. then a player die in a certain map, he will automatically drop All his ygg...
2 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.