Raised This Month: $ Target: $400
 0% 

Where I can find all constants etc?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
peku33
Junior Member
Join Date: Nov 2008
Old 12-29-2010 , 15:50   Where I can find all constants etc?
Reply With Quote #1

Hi! I need to modify weapon ammo by its entity id. I found code:
Code:
// weapons offsets
#define OFFSET_CLIPAMMO        51
#define OFFSET_LINUX_WEAPONS    4
#define fm_cs_set_weapon_ammo(%1,%2)    set_pdata_int(%1, OFFSET_CLIPAMMO, %2, OFFSET_LINUX_WEAPONS)
but i don't understand where author found both constants: OFFSET_CLIPAMMO and OFFSET_LINUX_WEAPONS.
peku33 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 02:11.


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