Beo
Three Magic
- Joined
- Aug 25, 2009
- Messages
- 9,075
- Solutions
- 1
- Reaction score
- 857
A little script Cykotitan helped me with ^_^
When you open the backpack a red message will come up alerting you how much gold you have.
Only works with standard backpack, if you want to add more backpacks, its entirely up to you, just change the id of the backpack to replace 1988 [Brown Backpack].
This in Actions;
This in other;
Screenshot;
When you open the backpack a red message will come up alerting you how much gold you have.
Only works with standard backpack, if you want to add more backpacks, its entirely up to you, just change the id of the backpack to replace 1988 [Brown Backpack].
This in Actions;
LUA:
<action itemid="1988" script="other/NAMEOFSCRIPT.lua"/>
This in other;
LUA:
function onUse(cid, item, fromPosition, itemEx, toPosition)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, 'You have ' .. getPlayerMoney(cid) .. ' gold.')
return true
end
Screenshot;

If you want the backpack to open in TFS 0.3 or higher, remove return true.
Last edited: