Raised This Month: $ Target: $400
 0% 

get user money with fakemeta?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 11-13-2006 , 19:00   Re: get user money with fakemeta?
Reply With Quote #2

Code:
 #if cellbits == 32     #define OFFSET_CSMONEY  115  #else     #define OFFSET_CSMONEY  140  #endif  #define OFFSET_LINUX       5  stock fm_cs_set_user_money(id,money,flash=1)  {      set_pdata_int(id,OFFSET_CSMONEY,money,OFFSET_LINUX);      message_begin(MSG_ONE,get_user_msgid("Money"),{0,0,0},id);      write_long(money);      write_byte(flash);      message_end();  }  stock fm_cs_get_user_money(id)  {      return get_pdata_int(id,OFFSET_CSMONEY,OFFSET_LINUX);  }

This is how I would do it, except that you would want to store the Money message id somewhere instead of getting it every time.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS

Last edited by XxAvalanchexX; 11-13-2006 at 20:56.
XxAvalanchexX is offline
 



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 06:58.


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