Raised This Month: $ Target: $400
 0% 

Is there an alternative to reapi's rg_set_iteminfo?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
damage220
Member
Join Date: Jul 2022
Location: Ukraine
Old 03-19-2024 , 23:06   Is there an alternative to reapi's rg_set_iteminfo?
Reply With Quote #1

I am looking for a way to change item info of weapon entity. Like the following but without reapi module.
PHP Code:
rg_set_iteminfo(entItemInfo_pszNameWEAPON_NAME);
rg_set_iteminfo(entItemInfo_pszAmmo1AMMO_NAME);
rg_set_iteminfo(entItemInfo_iMaxAmmo11);
rg_set_iteminfo(entItemInfo_iIdWEAPON_FAKE_ID);
rg_set_iteminfo(entItemInfo_iPosition4);
rg_set_iteminfo(entItemInfo_iWeight1); 
I know there is *HamItemInfo set of function but as far as I understand these functions do not accept entity variable, and they are used to "set a parameter on the fly of the current hook". I need to change item info any time like rg_set_iteminfo does. Is there an alternative to this function provided by any module shipped with amxmodx?
damage220 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 01:37.


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