Quote:
Originally Posted by mug1wara
What's the sense in that?
EDIT:
@Ilusion9 showed a great example.
|
The sense in doing that is you can hook the event for each client as they join. OnPluginStart() is only called when all the plugins have loaded or when the plugin itself loads late (reloaded/added late/etc.). The way that code has it, the event will only be hooked for the clients that are already connected and ingame, but not the ones who join later.
I usually hook any SDKHook event to clients on OnClientPostAdminCheck().
__________________