buda Posted July 8, 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 Share Posted July 8, 2012 try this - script Sample -1,{ OnPCDieEvent: if( countitem(607) ){ getmapxy( [email protected]$,[email protected],[email protected],0 ); makeitem 607,countitem(607),[email protected]$,[email protected],[email protected]; delitem 607,countitem(607); } end; } Quote Link to comment Share on other sites More sharing options...
plankt Posted July 10, 2012 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( [email protected]$, [email protected], [email protected], 0 ); if( [email protected]$ == "mapname" && countitem(607) ){ makeitem 607, countitem(607), [email protected]$, [email protected], [email protected]; delitem 607, countitem(607); } end; } Quote Link to comment Share on other sites More sharing options...
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