Raised This Month: $ Target: $400
 0% 

Checking if a entity is certain weapon


Post New Thread Reply   
 
Thread Tools Display Modes
RateX
Veteran Member
Join Date: Jun 2012
Location: 0o. SEA .o0
Old 09-26-2014 , 03:26   Re: Checking if a entity is certain weapon
Reply With Quote #11

pdata = private data. Key 43 (or m_iId) will return weapon id in CSW_ format.
@FromTheFuture: Next time, don't hard coded key. Write something like:
PHP Code:
#define m_iId                        43
#define OFFSET_LINUX_WEAPON        4
new iWpn get_pdata_int(entm_iIdOFFSET_LINUX_WEAPON

Last edited by RateX; 09-26-2014 at 03:43.
RateX 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 19:53.


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