hi, i messing with this script so much hours , i dont see any drop items in the floor , the items is succesfully deleted on my inventory, but the items is not dropping on the ground and there is no error, and i think there was something wrong in makeitem2
hi, i messing with this script so much hours , i dont see any drop items in the floor , the items is succesfully deleted on my inventory, but the items is not dropping on the ground and there is no error, and i think there was something wrong in makeitem2
prontera,150,155,3 script penalty_drop 103,{ OnPCDieEvent: if ( [email protected] > -1000 ) { [email protected] = ( pkpoints / 1000 ); if ( [email protected] < 0 ) [email protected] = 1; if ( [email protected] < rand( 100 ) ) { for ( [email protected] = 1; [email protected] <= 10; [email protected]++ ) if ( getequipid( [email protected] ) != -1 ) [email protected]_part_found++; if ( [email protected]_part_found ) { do { [email protected]_part = rand( 1,10 ); [email protected]_id = getequipid( [email protected]_part ); } while( [email protected]_id == -1 ); [email protected] = getequiprefinerycnt( [email protected]_part ); for ( [email protected] = 0; [email protected] < 4; [email protected]++ ) [email protected][[email protected]] = getequipcardid( [email protected]_part,[email protected] ); getmapxy( [email protected]$,[email protected],[email protected],0 ); delequip [email protected]_part; makeitem2 [email protected]_id,1,[email protected]$,[email protected],[email protected],1,[email protected],0,[email protected][0],[email protected][1],[email protected][2],[email protected][3]; dispbottom "One of your equipment dropped."; } } } end; }Link to comment
Share on other sites