• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

NPC [Release] Forgotten server Banker!

Awsome script, testin now :D

Warning: [NpcScript::NpcScript] Can not load script. data/npc/scripts/bank.lua
data/npc/scripts/bank.lua:36: '=' expected near 'have'

I can't find where to correct this... :/
 
Last edited:
have an bug if you have balance 0 and say deposit, yes, bla the balance of the player will be too big ;P
 
This one here is compatible with TFS and it has a transfer function:
Code:
...
NPC code
...
but you can transfer only when player is online?
EDIT
I made my own Banker NPC, becouse I did not find any really good banker on forums.
functions:
-deposit
-withdraw
-balance
-transfer (to offline and online players!, use OTS database to save account balance, not stupid text in 2344234 files)
-inteligent dialogs, not like in other NPC scripts :>
You can download my banker from:
http://otland.net/showthread.php?t=3962
tricks like: "hi, withdraw, yes" don't work ;)
 
Last edited:
nice script i give you rep but please say me what i must do to buy pacc without pacc because if i delete some lines also i have errors :p
 
Back
Top