• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Need help with one script ;D

breispodeu

Mapper/Scripter/C++ Programmer
Joined
Jul 25, 2009
Messages
80
Reaction score
5
GitHub
lucasoares
Hello guys..

Have three items(A, B and C), and I need to do the following:

1 - Someone use one item(A) above the ground, (top item) in some item(B) on his backpack.
2- The item(B) is taken from him and appears on the ground(where the item(A) is), with all its attributes (I will change the name, attack, etc of item and want to keep these attributes). Im the same way, the item(A) dessapears and one third item(C) appears above the item (B).
3 - When other player or the same who did the first thing use the item (C), the item (B) will appears in their backpack with all attributes. The item (C) is replaced by the item (A) and return to the first step status, "waiting" for other items.

I don't know how to use thing's function, how to add item.Ex in ground with all attributes and how to give to some player again, thats why I'm asking here.

Please help me, if you want just explain me how to work with necessary functions will be welcome

Thanks
 
Last edited:
Back
Top