/MemoryPatch

A simple .inc file to patch memory efficiently.

Primary LanguageC++GNU General Public License v3.0GPL-3.0

MemoryPatch

A simple .inc file to patch memory efficiently.

Include memorypatch.inc in your plugin to use it.

Read mempatch.sp & mem.txt to understand how to use it. The example plugin patches the function CTFPlayer::PickupWeaponFromOther so that the game Team Fortress 2 generates dropped weapons inside spawn rooms.