View Full Version : How do you add into a script the ability to do your bank pin?
broski123
03-24-2012, 04:53 PM
How do you add into a script the ability to do your bank pin?
the flea
03-24-2012, 05:01 PM
in your banking procedure put something like:
if PinScreen then
InPin(Players[CurrentPlayer].Pin);
and in your declare players make sure to have a field
Pin := '';
Yeh in the Declare players procedure, just add in pin, like so:
with Players[1] do
begin
Name := '';
Pass := '';
Nick := '';
Pin := '';
Active :;
end;
broski123
03-24-2012, 07:08 PM
Yeh in the Declare players procedure, just add in pin, like so:
with Players[1] do
begin
Name := '';
Pass := '';
Nick := '';
Pin := '';
Active :;
end;
That'll work?
Not entirely.
Pin goes here, like this.
Players[0].Name := ''; // Username
Players[0].Pass := ''; // Password
Players[0].Nick := ''; // 3-4 lowercase letters from username.
Players[0].Active := True;
Players[0].Pin := '';//Pin Number here
Then, in your bank procedure, add this
if PinScreen then
InPin(Players[CurrentPlayer].Pin);
broski123
03-24-2012, 07:14 PM
Thanks Mate :P
No problem. Glad to help.
JuKKa
03-24-2012, 07:33 PM
I think you only need to add the Pin in declareplayers. SRL's banking methods handles the pin automatically.
Oh, so you don't need to add PinScreen?
JuKKa
03-24-2012, 07:51 PM
Oh, so you don't need to add PinScreen?
yeah, if ur using SRL to open the bank.
(OpenBankQuiet, OpenBankGlass, OpenBankFast, OpenBankNPC, OpenBankChestEdge, OpenBankChest and Openbank)
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.