Jump to content
  • 0
G-RO

makeitem2 not dropping on floor

Question

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

1 answer to this question

Recommended Posts

  • 0

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.