Skip to content

Conversation

@KrystilizeNevaDies
Copy link

Just added a check for the HOOK_PLAYER_TOSSING_ITEM hook

cPluginManager:AddHook(cPluginManager.HOOK_PLAYER_SPAWNED, OnPlayerSpawned)
cPluginManager:AddHook(cPluginManager.HOOK_TAKE_DAMAGE, OnTakeDamage)
cPluginManager:AddHook(cPluginManager.HOOK_WORLD_TICK, OnWorldTick)
cPluginManager:AddHook(cPluginManager.HOOK_PLAYER_TOSSING_ITEM,OnPlayerTossingItem)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you make this a tab and make sure OnPlayerTossingItem aligns with the other hooks? If the hook gets so long that you can't add a space after the comma you can add one space to the other hooks.

@NiLSPACE
Copy link
Owner

I'm sorry I didn't respond to this. Apparently I clicked this once and then forgot about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants