Chlorek Posted April 8, 2011 Share Posted April 8, 2011 =====CL-Bank Script===== This script adds 13 banks (v1.0.0) in San Andreas. Each bank is visible as "$" sign and you can use it when you enter to red bank marker. Just type amount and press deposit or withdraw! Bank shows your bank balance and cash in hands. GUI is friendly and easy to use. It's little bank script but works very well! =====Adding a new bank===== Adding a new bank is very easy. You need to open banks.lua and at begin of the file put: local bank* = createMarker ( x, y, z, "cylinder", 1.5, 255, 0, 0, 170 ) local bankBlip* = createBlip ( x, y, z, 52, 2, 0, 0, 0, 255, 0, 15, getRootElement()) addEventHandler( "onMarkerHit", bank*, bankHit ) * - instead * put number of a new bank (in v1.0.0 are 13 banks so set 14 and upper) Script tested with MTA 1.0.4 version. All buggs and suggestions post in this topic please Download: https://community.multitheftauto.com/index.php?p=resources&s=details&id=2013 Comments: https://community.multitheftauto.com/index.php?p=resources&s=comments&id=2013 Link to comment
Castillo Posted April 8, 2011 Share Posted April 8, 2011 I have a suggestion, either make the banks in XML or make a table with them, then you can just check the table instead of every bank. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now