mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08:00
[saco] Implement/match CWeapon__Satchel__Activate_Hook()
This commit is contained in:
parent
d2fe290b96
commit
78a3b2b967
@ -630,7 +630,21 @@ NUDE CProjectile_Update_Hook()
|
||||
|
||||
NUDE CWeapon__Satchel__Activate_Hook()
|
||||
{
|
||||
// TODO: CWeapon__Satchel__Activate_Hook
|
||||
__asm
|
||||
{
|
||||
CMP DWORD PTR DS:[ESI-0x20], 0x27
|
||||
MOV EDI, DWORD PTR SS:[EBP]
|
||||
JNZ skip
|
||||
MOV EAX, [ESP]
|
||||
CMP DWORD PTR DS:[ESI-0x1C], EAX
|
||||
JNZ skip
|
||||
MOV EAX, 0x738880
|
||||
JMP EAX
|
||||
|
||||
skip:
|
||||
MOV EAX, 0x7388DB
|
||||
JMP EAX
|
||||
}
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user