![]() |
Bank Script????
Help ......im making a server and i need a bank so could anyone tell me a bank script......plzzzzzzzz
|
-_-'
try it yourself and don't ask for a full script, ask for someone to point you to the right direction |
Re: Bank Script????
Quote:
|
i got one i made not too long ago that i can spare, but it'll cost ya
|
if(playerchats && isleader){
if(strequals(#c,deposit all)){ this.deposit=playerrupees+strtofloat(#s(bankaccoun t)); setstring bankaccount,#v(this.deposit); playerrupees=0; } if(strequals(#c,get all)){ this.get=strtofloat(#s(bankaccount)); playerrupees+=this.get; setstring bankaccount,0; } if(strequals(#c,amount)){ setplayerprop #c, You have #s(bankaccount) ruppes; } } It's just some example and not tested. I didn't add a function to deposit a random number of rupees but as an example it should be ok... |
NPC Code: |
I've seen TONS of banks scripts on different sites, you either must not know how to surf the internet or you're just very lazy
|
Quote:
|
| All times are GMT +2. The time now is 09:56 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.