Raised This Month: $ Target: $400
 0% 

Refill Spray, Death Money


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tsilenzio
Junior Member
Join Date: Jul 2005
Old 07-07-2006 , 10:57   Refill Spray, Death Money
Reply With Quote #1

This is for CS only:

I was wondering (if its possible) that if anyone would know a command or anything that will refill a players spray, and give them $300. (This would produce the same thing as one player killing another.)

Thank you very much - in advance
tsilenzio is offline
Rolnaaba
Veteran Member
Join Date: May 2006
Old 07-07-2006 , 11:06   Re: Refill Spray, Death Money
Reply With Quote #2

you want to make it so when someone kills someone else the killer is awarded $300 and his spray refilled?
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
tsilenzio
Junior Member
Join Date: Jul 2005
Old 07-07-2006 , 11:15   Re: Refill Spray, Death Money
Reply With Quote #3

Well, see with my plugin when you kill someone, you really dont. The game kills them, and adds a score to ur frag, and adds a score to their death, then generates a death message, but yea thats what I want
tsilenzio is offline
Rolnaaba
Veteran Member
Join Date: May 2006
Old 07-07-2006 , 11:19   Re: Refill Spray, Death Money
Reply With Quote #4

i dunno if there is a command to refill their spray but on your DeathMsg just use:
Code:
new attacker = read_data(1) cs_set_user_money(attacker, cs_get_user_money(attacker) + 300)
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
tsilenzio
Junior Member
Join Date: Jul 2005
Old 07-07-2006 , 11:21   Re: Refill Spray, Death Money
Reply With Quote #5

ah thanks man!
tsilenzio is offline
Rolnaaba
Veteran Member
Join Date: May 2006
Old 07-07-2006 , 11:23   Re: Refill Spray, Death Money
Reply With Quote #6

that will give the killer 300 more money, also make sure to include <cstrike> and make sure u put that in ur deathmsg if u have a
Code:
register_event("DeathMsg", "DeathMsg", "a")
defined already
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
Reply



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 08:02.


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