Ok,
When you create a new NPC in the NPCs section (has a lizard man picture), it is called a DBNPC: not a Control-NPC. Control-NPC is a specialized default DBNPC.
Now, I don't understand why you would need 2 DBNPCs for a bank...surely they could just be joined?
From the credit card weapon, you can call BankDB.publicfunction() serverside
soo....
PHP Code:
//BankDB
public function test()
{
echo("Public Function Reached!");
return true;
}
PHP Code:
//Credit Card Weapon
//blah blah
temp.test = BankDB.test();
if (temp.test)
player.chat = "woo!";
else
player.chat = "dammit =(";
Of course, you could access the BankDB variables straight from the Credit card weapon using the BankDB.variable method but it depends what types of security you implement.