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

|HELP| ActionID problem

Shabba001

New Member
Joined
Apr 11, 2014
Messages
40
Reaction score
0
Hi guys,
Based on znote shop system.

How can i put a actionID on a FireSword (example) and it becomes a another thing, like a mount, addon or something like that ?

thats my web code example:
PHP:
// offer 2
2 => array('type' => 1,'itemid' => 2392,
'count' => 1,
'describtion' => "Fire sword.",
'points' => 10,
),


Many thanks.
 
Last edited:
Znote's code for buying/selling is in \Znote\LUA\TFS_10\talkaction shopsystem\znoteshop.lua

It doesn't have built-in support for item upgrades, but you could add it easily enough.

I think I've seen logic that does this in a Data Pack, but I don't remember which one.
Simple anyway: just check the player has the item to be upgraded, then remove that and give them the upgraded version.

BTW if you want to do this a lot it would be possible to add an actionId, but TBH since you couldn't find Znote's znoteshop.lua I'd suggest you ask someone else to do it for you.
 
Back
Top