Jump to content

  •  

Photo

SKULL DROP


  • Please log in to reply
5 replies to this topic

#1 MikZ

MikZ

    Advanced Member

  • Members
  • PipPipPip
  • 183 posts

Posted 05 November 2016 - 01:12 PM

Good day!

How will i enable all skull from players inventory drop when player dies not just his/her skull and not tradeable.

Example:


Player got/picked 20 skull and player drops. 21 skull drop including his skull.

 

Thank you!



#2 MikZ

MikZ

    Advanced Member

  • Members
  • PipPipPip
  • 183 posts

Posted 06 November 2016 - 04:51 AM

anyone?

 

 

thank you!



#3 MikZ

MikZ

    Advanced Member

  • Members
  • PipPipPip
  • 183 posts

Posted 07 November 2016 - 12:41 PM

translate? SPAM?



#4 Nihad

Nihad

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts
  • Github:nihadm89

Posted 08 November 2016 - 01:09 AM

The tradeable part you simply edit in item_db.conf file

The part where the skulls drop, as long as you do not need to keep the attached names, it can be very simple.

 

You can use the OnPCDieEvent command, then simply count the skulls in the inventory. Then delete the items from the players inventory and drop that same amount on the floor using the following command:

 

makeitem(<item id>, <amount>, "<map name>", <X>, <Y>)

 

Maybe there is an easier way to do it, but this seems pretty simple to me. 



#5 MikZ

MikZ

    Advanced Member

  • Members
  • PipPipPip
  • 183 posts

Posted 16 November 2016 - 12:02 PM

The tradeable part you simply edit in item_db.conf file

The part where the skulls drop, as long as you do not need to keep the attached names, it can be very simple.

 

You can use the OnPCDieEvent command, then simply count the skulls in the inventory. Then delete the items from the players inventory and drop that same amount on the floor using the following command:

 

makeitem(<item id>, <amount>, "<map name>", <X>, <Y>)

 

Maybe there is an easier way to do it, but this seems pretty simple to me. 

 

Hi can you give me sample script?
thank you!



#6 MikZ

MikZ

    Advanced Member

  • Members
  • PipPipPip
  • 183 posts

Posted 18 November 2016 - 01:07 PM

any one?






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


This topic has been visited by 29 user(s)