buda Posted July 8, 2012 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 36 Reputation: 0 Joined: 06/21/12 Last Seen: December 19, 2012 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted July 8, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10015 Reputation: 2364 Joined: 10/28/11 Last Seen: Saturday at 07:02 PM Share 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 Link to comment Share on other sites More sharing options...
plankt Posted July 10, 2012 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 130 Reputation: 43 Joined: 12/11/11 Last Seen: July 16, 2017 Share 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 Link to comment Share on other sites More sharing options...
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...
Link to comment
Share on other sites
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.