05-14-2017, 05:17 AM
(This post was last modified: 05-14-2017, 05:19 AM by Seadragon91.)
@xoft I just see that SpawnItemPickups doesn't return anything. Could be useful for minigames.
Returning a table of entity ids should be okay. This could be useful for plugin that wants to know when a player collects a pickup with a specific item. Also for example changing the life time of a pickup.
Edit: Just see that there is a hook named HOOK_COLLECTING_PICKUP that is triggered when a pickup is collected.
@Boo If you want I could write that plugin.
Returning a table of entity ids should be okay. This could be useful for plugin that wants to know when a player collects a pickup with a specific item. Also for example changing the life time of a pickup.
Edit: Just see that there is a hook named HOOK_COLLECTING_PICKUP that is triggered when a pickup is collected.
@Boo If you want I could write that plugin.