Change armoury_entity bpammo
How can I change armoury_entities bpammo when they spawn? I want that all armoury_entities spawn with their max bpammo. Sorry for my english...
I tried: PHP Code:
|
Re: Change armoury_entity bpammo
your offsets are wrong.
armouries offsets are : 34 m_iType 35 m_iCount // that one you need You have to set them after each new round, you can hook Ham_Respawn post for this. ResgisterHam(Ham_Respawn, "armoury_entity", "Armoury_Entity_Respawn", 1) Code:
|
Re: Change armoury_entity bpammo
It still didn't work:
PHP Code:
|
Re: Change armoury_entity bpammo
Try Ham_CS_Restart
|
Re: Change armoury_entity bpammo
Now it works. But this offset changes the number of weapons, not the number of bullets in the backpack.
|
Re: Change armoury_entity bpammo
Then extraoffset could be 5.
Look at cstrike module sources cstrike.h |
| All times are GMT -4. The time now is 00:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.