Raised This Month: $12 Target: $400
 3% 

Players Drop Money v1.7 [UPDATED]


Post New Thread Reply   
 
Thread Tools Display Modes
cs1.7
Senior Member
Join Date: Oct 2008
Old 01-28-2009 , 11:44   Re: Players Drop Money v1.7 [UPDATED]
Reply With Quote #71

i can give u my custom cha ching sound for ur plug..though it makes my serv unique.
cs1.7 is offline
shine771
Senior Member
Join Date: Jun 2007
Old 01-28-2009 , 15:29   Re: Players Drop Money v1.7 [UPDATED]
Reply With Quote #72

Let it stay unique .
shine771 is offline
biscuit628
Senior Member
Join Date: Jun 2007
Location: 香港HongKong
Old 02-02-2009 , 17:46   Re: Players Drop Money v1.7 [UPDATED]
Reply With Quote #73

Sorry for my poor english.
how to let the plugin show this msg ?
client_print(0,print_chat,"%s drop %s money",name,money)

Code:
public deatha() {
 if(!get_pcvar_num(ison)) return PLUGIN_CONTINUE
 
 new money, Float:velo[3]
 new victim = read_data(2)
 new killer = read_data(1)
 
 if(killer && killer != victim)
  fm_set_user_money(killer,fm_get_user_money(killer) - 300)
 
 switch(get_pcvar_num(method)) {
  case 1:{
   money = get_pcvar_num(m_amount)
   if(fm_get_user_money(victim) < money) {
    money = fm_get_user_money(victim)
    fm_set_user_money(victim,0)
   }
   else fm_set_user_money(victim,fm_get_user_money(victim) - get_pcvar_num(m_amount))
   }
  case 2:{
   new tempmoney = fm_get_user_money(victim)
   if(money != 1) {
    money = (tempmoney / get_pcvar_num(divide))
    fm_set_user_money(victim,fm_get_user_money(victim) - money)
   }
   else {
    fm_set_user_money(victim,0)
    money = 1
   }
  }
  case 3:{
   new maxmoney = fm_get_user_money(victim)
   money = random_num(1,maxmoney)
   fm_set_user_money(victim,fm_get_user_money(victim) - money)
  }
  case 4:{
   new tempmoney2[32]
   get_pcvar_string(ran_money,tempmoney2,31)
   new tempmoney[3][6]
   parse(tempmoney2, tempmoney[0], sizeof tempmoney[] - 1,tempmoney[1], sizeof tempmoney[] - 1,tempmoney[2], sizeof tempmoney[] - 1)
   new num = random_num(1,3)
   switch(num) {
    case 1:{
     money = str_to_num(tempmoney[0])
    }
    case 2:{
     money = str_to_num(tempmoney[1])
    }
    case 3:{
     money = str_to_num(tempmoney[2])
    }
   }
   if(fm_get_user_money(victim) < money) {
    fm_set_user_money(victim,0)
    money = fm_get_user_money(victim)
   }
   else fm_set_user_money(victim,fm_get_user_money(victim) - money)
   }
  case 5:{
   new tempmoney22[32], num_from, num_to
   get_pcvar_string(random_nums,tempmoney22,31)
   new tempmoney1[2][6]
   parse(tempmoney22, tempmoney1[0], sizeof tempmoney1[] - 1,tempmoney1[1], sizeof tempmoney1[] - 1)
   num_from = str_to_num(tempmoney1[0])
   num_to = str_to_num(tempmoney1[1])
   if(num_to > 16000) num_to = 16000
   if(num_from < 0) num_to = 0
   money = random_num(num_from,num_to)
   
   if(fm_get_user_money(victim) < money) {
    fm_set_user_money(victim,0)
    money = fm_get_user_money(victim)
   }
   else fm_set_user_money(victim,fm_get_user_money(victim) - money)
   }
 }
 make_money(victim,money,velo)
 return PLUGIN_CONTINUE
}

Last edited by biscuit628; 02-08-2009 at 19:26.
biscuit628 is offline
sb123
Senior Member
Join Date: Jan 2007
Old 08-09-2009 , 13:35   Re: Players Drop Money v1.7 [UPDATED]
Reply With Quote #74

shine771you can change the money model
Attached Files
File Type: rar ball5.rar (10.9 KB, 235 views)
sb123 is offline
Send a message via ICQ to sb123 Send a message via MSN to sb123 Send a message via Yahoo to sb123
cs1.7
Senior Member
Join Date: Oct 2008
Old 08-17-2009 , 11:41   Re: Players Drop Money v1.7 [UPDATED]
Reply With Quote #75

Quote:
Originally Posted by sb123 View Post
shine771you can change the money model
now a ball is the money model.
weird though ...
Attached Files
File Type: sma Get Plugin or Get Source (pdm.sma - 838 views - 7.4 KB)
cs1.7 is offline
sb123
Senior Member
Join Date: Jan 2007
Old 08-17-2009 , 12:18   Re: Players Drop Money v1.7 [UPDATED]
Reply With Quote #76

cs1.7 football Why not move?
sb123 is offline
Send a message via ICQ to sb123 Send a message via MSN to sb123 Send a message via Yahoo to sb123
keep_clear
Junior Member
Join Date: Jun 2010
Location: Republic of Belarus
Old 07-05-2012 , 02:50   Re: Players Drop Money v1.7 [UPDATED]
Reply With Quote #77

Hi!
I guess this plug has a bug. When you keep the shield with the knife you cant drop your shield for any reason (either just throw it away or to pick up any weapons, primary or secondary)... was checked on de_dust, fy_pool_day maps.
Is it bug or something else?

Last edited by keep_clear; 07-05-2012 at 09:02.
keep_clear is offline
Unkolix
Veteran Member
Join Date: Sep 2012
Old 03-15-2013 , 08:07   Re: Players Drop Money v1.7 [UPDATED]
Reply With Quote #78

Could someone add a CVar to control the amount of money which wouldn't be dropped? I mean if that CVar is set to 2000, if player has less or equal value of money he wouldn't drop any money, and if he has more he will start to drop them.
Unkolix is offline
glhf3000
Member
Join Date: Aug 2010
Location: middle-universe
Old 12-26-2013 , 06:36   Re: Players Drop Money v1.7 [UPDATED]
Reply With Quote #79

I used this sound from dota.
Add it to the first post
Attached Files
File Type: zip coins_dota.zip (30.1 KB, 138 views)
glhf3000 is offline
MeT
New Member
Join Date: Sep 2016
Old 09-11-2016 , 05:06   Re: Players Drop Money v1.7 [UPDATED]
Reply With Quote #80

Hi , Nice plugin
i have a problem i wanna change dropmoney on death , when a player dies , he drops X number of money , each between 1 - 2 values , now can u help me?
in 5 method it only drop ONE random money i wanna have more numbers of money of random values.
MeT is offline
Old 04-25-2018, 05:08
AWAS
This message has been deleted by Emp`. Reason: Spam
Reply


Thread Tools
Display Modes

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 -4. The time now is 17:59.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode