Raised This Month: $ Target: $400
 0% 

Whose the weapon? [AmxModx 1.8.3 + ReAPI]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 04-07-2020 , 08:20   Re: Whose the weapon? [AmxModx 1.8.3 + ReAPI]
Reply With Quote #1

Quote:
Originally Posted by quLeryuzz View Post
I don't think we can write without reapi. I didn't found function like ItemInfo_iId.
cs_get_user_weapon_entity came with 1.8.3, but I can't change. How else could it be?
And also

reapi is very simple to use and it has more function.
You can do it with offsets using fakemeta/hamsandwich/cstrike depending on what you want to do. If you want to get the weapon index from the entity index use either m_iId offset.
If you want the name, use pev_classname.

There's 0 reasons to keep this RE* specific. I don't care how easy it is to use repapi, this forum primarily supports default HLDS and in this case, it is EXTREMELY EASY to use fakemeta and other default modules. By using default amxx stuff you allow everyone to use your plugins, not just people that use rehlds/regamedll.
__________________

Last edited by HamletEagle; 04-07-2020 at 08:21.
HamletEagle 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 10:28.


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