Raised This Month: $ Target: $400
 0% 

Extra Bullet in Chamber


Post New Thread Reply   
 
Thread Tools Display Modes
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-03-2014 , 03:51   Re: Extra Bullet in Chamber
Reply With Quote #11

Code:
write_byte(pev(s_iPlrId, pev_body));
Even though, it won't change much, this is wrong. Not sure why people do the same mistake, but it should be the weapon pev_body, not player's.


And just for information, to let you know, but I won't ask you to change of course: AMXX 1.8.3 integrates a new get_pdata_bool() native ; and instead of using m_iUserPrefs with flags, you can use directly the full offset and real name with this native :

Code:
m_bVGUIMenus               /*  2040  */
m_bShowHints               /*  2041  */
m_bShieldDrawn             /*  2042  */
m_bOwnsShield              /*  2043  */
m_bWasFollowing            /*  2044  */
__________________
Arkshine is offline
Reply


Thread Tools
Display Modes

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:43.


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