Raised This Month: $ Target: $400
 0% 

hook cs_[s/g]et_user_money


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ramono
Veteran Member
Join Date: Nov 2005
Location: Netherlands
Old 08-20-2007 , 12:09   hook cs_[s/g]et_user_money
Reply With Quote #1

i'm trying to rebuild my old "More money than 16000" plugin and I want to add other plugins compatibility.

One of the things I need for that is to find out whenever a plugin is calling cs_get_user_money or cs_set_user_money.

Is this possible?

Thanks,
Ramon

Edit: Also blocking set_user_money would be nice
__________________
Um, hi.
Ramono is offline
X-Script
BANNED
Join Date: Jul 2007
Location: (#504434)
Old 08-22-2007 , 07:50   Re: hook cs_[s/g]et_user_money
Reply With Quote #2

You found nothing in the Wiki or functions?
X-Script is offline
Ramono
Veteran Member
Join Date: Nov 2005
Location: Netherlands
Old 08-22-2007 , 09:51   Re: hook cs_[s/g]et_user_money
Reply With Quote #3

no?
__________________
Um, hi.
Ramono is offline
sawce
The null pointer exception error and virtual machine bug
Join Date: Oct 2004
Old 08-22-2007 , 11:19   Re: hook cs_[s/g]et_user_money
Reply With Quote #4

Not possible.

If a player has less than 16000 and a plugin uses it, it'll send the message to update the money supply, so having an event check for that would work there.

But once the player is at 16000 it won't send money events any more since it doesn't change the value.
__________________
fyren sucks
sawce is offline
cs1.6
Senior Member
Join Date: Dec 2006
Old 12-30-2007 , 16:27   Re: hook cs_[s/g]et_user_money
Reply With Quote #5

omg.. someone help him!

EDIT:

please


This would make the unlimited money plugin finally compatible to other plugins.

Last edited by cs1.6; 12-30-2007 at 18:43. Reason: help!
cs1.6 is offline
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 12-30-2007 , 18:24   Re: hook cs_[s/g]et_user_money
Reply With Quote #6

Wow
__________________
M249-M4A1 is offline
Ramono
Veteran Member
Join Date: Nov 2005
Location: Netherlands
Old 12-30-2007 , 19:25   Re: hook cs_[s/g]et_user_money
Reply With Quote #7

I have found somthing that makes it compatible with other plugins, gimme a few days.
__________________
Um, hi.
Ramono is offline
cs1.6
Senior Member
Join Date: Dec 2006
Old 12-30-2007 , 19:38   Re: hook cs_[s/g]et_user_money
Reply With Quote #8

Quote:
Originally Posted by Ramono View Post
I have found somthing that makes it compatible with other plugins, gimme a few days.
omg thanks so much! I love you!
cs1.6 is offline
Ramono
Veteran Member
Join Date: Nov 2005
Location: Netherlands
Old 01-02-2008 , 08:54   Re: hook cs_[s/g]et_user_money
Reply With Quote #9

Updated it.
__________________
Um, hi.
Ramono is offline
cs1.6
Senior Member
Join Date: Dec 2006
Old 01-02-2008 , 09:30   Re: hook cs_[s/g]et_user_money
Reply With Quote #10

omg.. i can't balieve it! Finally! I'm gonna test it out right now!
cs1.6 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 07:51.


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