Raised This Month: $ Target: $400
 0% 

Earning Money CS


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
soccdoodcss
Veteran Member
Join Date: Nov 2006
Location: Wisconsin
Old 01-20-2007 , 11:52   Re: Earning Money CS
Reply With Quote #1

:O lol alright thanks. Do you think i could find out the exact money rewards depending if you win/lose/kill another person and such and deduct the same amount?
__________________
"Now safe beneath their wisdom and their feet.
Here I will teach you truly how to sleep."
soccdoodcss is offline
Send a message via AIM to soccdoodcss
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 01-20-2007 , 17:13   Re: Earning Money CS
Reply With Quote #2

You don't have to withdraw ammount of money every time.
Store users money in global var and set it everytime the money is changed. This will never give the user more money than 800 untill you give them some money. You'll have to use cshack if you wanna go lower than 800.
Code:
#include <amxmodx> #include <cstrike> new g_money[33] public plugin_init() {     register_plugin("", "", "")     register_event("Money","msg_Money","b") } public msg_Money(id)     cs_set_user_money(id, g_money[id])

Last edited by [ --<-@ ] Black Rose; 01-20-2007 at 17:43.
[ --<-@ ] Black Rose 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 22:21.


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