• 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!

Prevent player from selling items with actionid > 0.

Hermes

dziwki kola gramy w lola
Joined
Nov 17, 2007
Messages
1,867
Reaction score
14
Location
Poland
Hello.

I am wondering is there any way to prevent player from selling items with actionid? Because I have an advanced script that calculates damage and other bonuses via actionid and when player tries to sell an item with the same itemid - item from inventory is taken first, instead of the item from backpack.

Is it possible to make item such as those with actionid > 0 not counted in transactions via the trade window?

Best regards,
Hermes
 
Everything could be done with source edits. I am wondering is there any way to not hardcode it in c++ but do in LUA.
 
Back
Top