Jump to content
  • 0

Need help about item script


mrfizi

Question


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  292
  • Reputation:   46
  • Joined:  10/30/12
  • Last Seen:  

Hello all..

I need help from all sifu here.

Can you help me how to make item script for item_db like this:

If the player use/equipt this item, the player will be @die .. 

Hope anybody can help me. Thank you.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  815
  • Reputation:   86
  • Joined:  10/26/12
  • Last Seen:  

try to look at your item_bonus.txt and some idea in ratemyserver.net for the items that similar to that its better to search than asking :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  143
  • Reputation:   30
  • Joined:  12/23/11
  • Last Seen:  

percentheal -100,0;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  292
  • Reputation:   46
  • Joined:  10/30/12
  • Last Seen:  

Just atcommand "@die"; I think.

yup. :) that command. thank you. :)

and i add one more command for it. this is for disable my godly item. EXAMPLE:

.....{},{ atcommand "@die"; atcommand "@delitem 2401 1"; },{}

**Now i'm using this.. :

.....{},{ if (getgmlevel() <= 99) { atcommand "@die"; atcommand "@delitem 2410 1"; },{}

so, only GM above 99 can use.. /gawi

Edited by Lonecryer
Link to comment
Share on other sites

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...