
07-08-2009, 01:17 PM
|
|
Banned
|
Join Date: Jul 2008
Posts: 83
|
|
credit card script help.
|
Hello guys, Today I need some help on NPC control.
I have this bank script that I finally got working. It runs in 2 NPC-Controls.
1 is called Bank.
The other one is called BankDB.
So I got this new credit card script I am making, and basically, it allows you to use the money you have in the bank account, without having to go to the bank and saying /withdraw (amount). Just so I could make sure it works, I put a functionOnPlayerChats thing and made it to where if you say /credit balance, it shows your bank balance basically, since thats what your running off of. For some reason, It isnt showing the bank balance. How Can I make the weapon script called "Credit/Card" know what im talking about when I am talking about the bank balance? Is there a way you can do like findnpc("npcname");?
Someone tell me please.
Thanks. |
|
|
|