![]() |
having an item, and giving it
im trying to make a mushroom script, where you can make potions and sell them or keep them for use
does !hasmushroom work as having the mushroom? and if so, would something like if !hasmushroom; (command to activate something) work? |
that would work, just set the flag when the player gets the mushroom. Of course sometimes the flag won't set and I forget how to keep that from happening....
|
well, to have an item, and give it, you would include something like this (we are assuming that this is non-P2P, and the weapon's name is "*****")
the files we are using is *****.txt (shown below) *****icon.gif (make one yourself) NPC Code: next time I will show you for P2P |
Quote:
|
I couldn't think of a good name for an example item :o
|
its better to use a seperate NPC to control droping... like g2k1 does with the Item helper... & use action like "actiondropsnowcone" & in the NPC you check if that player has more then one & if not delete it & lay a new NPC.....
|
usually when people ask me for scripts, I assume it's for non-p2p...but yes, you are right...
|
Quote:
what would be a p2p example of the last one you showed me? |
| All times are GMT +2. The time now is 10:38 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.