Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-08-2009, 01:17 PM
[email protected] jamerson61894@yahoo.com is offline
Banned
Join Date: Jul 2008
Posts: 83
jamerson61894@yahoo.com is an unknown quantity at this point
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.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:30 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.