Raised This Month: $ Target: $400
 0% 

can't find the method to obtain AmmoID *SOLVED


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 02-10-2024 , 02:40   can't find the method to obtain AmmoID *SOLVED
Reply With Quote #1

Code:
message_begin(msg_one_unreliable, get_user_msgid("ammopickup"), {0, 0, 0}, pplayer)
The first byte's AmmoID, but I can't udnerstand where it would be or how :\

I've weapon ent and its weapon type id WEAPON_*
Code:
new weaponEnt = rg_give_item(pPlayer, weaponStr, GT_REPLACE)
How AmmoID would be obtain?

---

Solved

Last edited by ZASTRELIS; 02-10-2024 at 11:10. Reason: https://forums.alliedmods.net/showthread.php?p=720161
ZASTRELIS is offline
mlibre
Veteran Member
Join Date: Nov 2015
Location: return PLUGIN_CONTINUE
Old 02-10-2024 , 17:40   Re: can't find the method to obtain AmmoID *SOLVED
Reply With Quote #2

how did you solve
__________________
mlibre 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 21:42.


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