Thread
:
Objectcaps & Entity PlayerUse
View Single Post
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
08-30-2013 , 20:10 Re: Objectcaps & Entity PlayerUse
#
2
This is a nice tip, your example is wrong though.
It is like you return this :
SetHamReturnInteger( FCAP_IMPULSE_USE )
because iCap is never set to something else, so you should first use ExecuteHam to get default return, or you should hook it as post and use HamGetOrigReturnInt or however it this native is called, and then set its return.
__________________
- tired and retired -
- my plugins -
ConnorMcLeod
View Public Profile
Send a private message to ConnorMcLeod
Find More Posts by ConnorMcLeod