Refi
+- +-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

Author Topic: [Solved][Request] Bank Plugin Counte Strike 1.6  (Read 75 times)

0 Members and 0 Guests are viewing this topic.

Owais Ahmed

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
[Solved][Request] Bank Plugin Counte Strike 1.6
« on: May 12, 2019, 02:15:01 pm »
Your Name: Owais Ahmed
Your Age: 14
The Plugin You want: bank plugin cs 1.6 for public mod
Any Details About it: i need a bank plugin for cs 1.6 and it will be for simple mod / classic mod and i want to add $ in this not ammo packs please help me .
« Last Edit: June 06, 2019, 04:07:49 am by Owais Ahmed »

Share on Facebook Share on Twitter


Owais Ahmed

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: [Request] Bank Plugin Counte Strike 1.6
« Reply #1 on: May 14, 2019, 02:56:37 am »
Please Help Me

DON KHAN

  • My Bio
  • FoundeR
  • Hero Member
  • *****
  • Posts: 5046
  • Karma: +0/-0
  • Gender: Male
  • Scriptor, Model Editor, Bug Fixer And Student
  • Location: Karachi
    • View Profile
    • Ro{Y}aL WarLanD Community
Re: [Request] Bank Plugin Counte Strike 1.6
« Reply #2 on: May 14, 2019, 02:58:26 am »
Here Is The Bank Plugin

Check This Code And Compile It

Code: [Select]
#include <amxmodx>
#include <nvault>
#include <cstrike>
#include <colorchat>

new g_vault


public plugin_init() {
register_plugin("Bank","3.7","DON KHAN")

g_vault = nvault_open("BRS")

register_cvar("brs_warmup","0")
register_clcmd("say /banka","Meni")
register_clcmd("bb_banka","Meni")
register_clcmd("say /bank","Meni")
register_clcmd("bb_bank","Meni")
register_concmd("deposit","ubaci")
register_concmd("withdraw","podigni")
}
public Meni(id)
{
new menu = menu_create("\rBaseBuilder v9.2 By \wDON KHAN\y | \wBank","Handler")
menu_additem(menu,"Store Your Money!")
menu_additem(menu,"Take Your Money!")
menu_additem(menu,"Check Your Balance!")
menu_display(id, menu);
}
public Handler(id,menu,item)
{
if(item == MENU_EXIT)
{
menu_destroy(menu);
return PLUGIN_CONTINUE;
}
switch(item)
{
case 0:
{
client_cmd(id,"messagemode deposit")
ColorChat(0, GREEN, "^4[Bank] ^1Type How Much You Need To Save From Your Money!")
}
case 1:
{
client_cmd(id,"messagemode withdraw")
ColorChat(0, GREEN, "^4[Bank] ^1Type How Much You Need To Take From Your Bank!")
}
case 2:
{
new broj_bpara[32],pid[32]
get_user_authid(id,pid,31)
nvault_get(g_vault,pid,broj_bpara,31)
ColorChat(0, GREEN, "^4[Bank] ^1You Have^3 %s$^1 In Your Bank!",broj_bpara)
}
}
return PLUGIN_CONTINUE
}
public ubaci(id)
{
if(get_cvar_num("brs_warmup")==0)
{
new suma[32],suma2, broj_para
read_argv(1,suma,31)
suma2 = str_to_num(suma)
broj_para = cs_get_user_money(id)
if(suma2<0) return
if(suma2>broj_para)
ColorChat(0, GREEN, "^4[Bank] ^1Impossible for you to put more money in the bank than you have them!")
else
{
new pid[32], bmoney[32],bmoney2, xxx[32]
get_user_authid(id,pid,31)
nvault_get(g_vault,pid,bmoney,31)
bmoney2 = str_to_num(bmoney)
num_to_str(suma2+bmoney2,xxx,31)
nvault_set(g_vault,pid,xxx)
cs_set_user_money(id,broj_para-suma2)
ColorChat(0, GREEN, "^4[Bank] ^1You Have Just Stored^3 %i$^1 In Your Bank!",suma2)
}
}
else
ColorChat(0, GREEN, "^4[Bank] ^1You can't put money during heating!")

}
public podigni(id)
{
if(get_cvar_num("brs_warmup")==0)
{
new suma[32],suma2, broj_para,broj_bpara[32],broj_bpara2,pid[32],xxx[32]
read_argv(1,suma,31)
suma2 = str_to_num(suma)
broj_para = cs_get_user_money(id)
get_user_authid(id,pid,31)
nvault_get(g_vault,pid,broj_bpara,31)
broj_bpara2 = str_to_num(broj_bpara)
if(suma2<0)
return
if(suma2>broj_bpara2)
ColorChat(0, GREEN, "^4[Bank] ^1You can't get more money than you have at the bank!")
else
{
if(suma2+broj_para>16000)
ColorChat(0, GREEN, "^4[Bank] ^1You Can't Take More^3 16000$")
else
{
cs_set_user_money(id,broj_para+suma2)
num_to_str(broj_bpara2-suma2,xxx,31)
nvault_set(g_vault,pid,xxx)
ColorChat(0, GREEN, "^4[Bank] ^1You has just withdrawn^3 %i$^1 from your bank!",suma2)
}
}
}
else
ColorChat(0, GREEN, "^4[Bank] ^1You can't raise steam during heating!")
}
public client_putinserver(id)
{
set_task(2.0,"clp_delay",id)
}
public clp_delay(id)
{
new blaa = random_num(0,2)
switch(blaa)
{
case 1:
{
new pid[32], bmoney[32],bmoney2, xxx[32]
get_user_authid(id,pid,31)
nvault_get(g_vault,pid,bmoney,31)
bmoney2 = str_to_num(bmoney)
if(bmoney2<200)
return PLUGIN_CONTINUE
else
{
num_to_str(bmoney2-200,xxx,31)
nvault_set(g_vault,pid,xxx)
ColorChat(0, GREEN, "^4[Bank] ^1Dinkic stole^3 200$ from the bank!")
}
}
case 2:
{
new pid[32], bmoney[32],bmoney2, xxx[32]
get_user_authid(id,pid,31)
nvault_get(g_vault,pid,bmoney,31)
bmoney2 = str_to_num(bmoney)
num_to_str(bmoney2+100,xxx,31)
nvault_set(g_vault,pid,xxx)
ColorChat(0, GREEN, "^4[Bank] ^1The bank gives you^3 100$^1 as a gift!")
}
case 3:
{
ColorChat(0, GREEN, "^4[Bank] ^1The money in your account has^3 not changed!")
}
}
return PLUGIN_CONTINUE
}

Topic Is Solved So Put [Solved] Before topic name
Selling Mods.
PM Me If You Want Any Plugin.
Facebook:- https://www.facebook.com/cs.pro.usman
Youtube:- PC Gaming And Technology With Usman
My Introduction:- Muslim, Student, Scriptor At Counter Strike 1.6, Bug Fixer And Model Editor.
To Download Any Game Visit Here:- http://crazygamers.ucoz.net/

Owais Ahmed

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: [Request] Bank Plugin Counte Strike 1.6
« Reply #3 on: June 06, 2019, 04:07:03 am »
Thanks For Helping

And Sorry For Late Reply  ;) ;)
Love Love x 1 View List

DON KHAN

  • My Bio
  • FoundeR
  • Hero Member
  • *****
  • Posts: 5046
  • Karma: +0/-0
  • Gender: Male
  • Scriptor, Model Editor, Bug Fixer And Student
  • Location: Karachi
    • View Profile
    • Ro{Y}aL WarLanD Community
Re: [Solved][Request] Bank Plugin Counte Strike 1.6
« Reply #4 on: June 06, 2019, 11:11:20 pm »
np
Selling Mods.
PM Me If You Want Any Plugin.
Facebook:- https://www.facebook.com/cs.pro.usman
Youtube:- PC Gaming And Technology With Usman
My Introduction:- Muslim, Student, Scriptor At Counter Strike 1.6, Bug Fixer And Model Editor.
To Download Any Game Visit Here:- http://crazygamers.ucoz.net/

 

+-Recent Topics

Need mod :/ by bacem
October 13, 2019, 05:49:09 am

Rules by DON KHAN
August 28, 2019, 01:50:29 pm

[REQ] VIP are knife and all see this by DON KHAN
August 20, 2019, 12:56:37 pm

Advance VIP Menu [Public, CSDM & Furien] by DON KHAN
June 22, 2019, 11:50:05 am

For Umbrella Swarm mod by DON KHAN
June 22, 2019, 08:13:26 am

[ZP] VIP Model by DON KHAN
June 17, 2019, 08:57:35 am

[ZP] SVIP Plugin by DON KHAN
June 13, 2019, 11:43:24 am

Updates / Helpful BBC Codes For Your Post by DON KHAN
June 09, 2019, 03:01:39 am

BHOP Script by DON KHAN
June 08, 2019, 01:40:41 pm

[Solved][Request] Bank Plugin Counte Strike 1.6 by DON KHAN
June 06, 2019, 11:11:20 pm