[DiscordArchive] or maybe improve the support for bots in the core?
[DiscordArchive] or maybe improve the support for bots in the core?
Archived author: Deleted User • Posted: 2018-05-13T14:27:32.067000+00:00
Original source
Omg
Archived author: Deleted User • Posted: 2018-05-13T14:27:33.138000+00:00
Original source
xD
Archived author: Deleted User • Posted: 2018-05-13T14:27:44.600000+00:00
Original source
```cpp
class ElunaPlayerHooks : public PlayerScript
{
public:
ElunaPlayerHooks() : PlayerScript("ElunaPlayerHooks"){}
void OnLogin(Player* player, bool FirstLogin)
{
#ifdef ELUNA
if (FirstLogin)
sEluna->OnFirstLogin(player);
sEluna->OnLogin(player);
#endif
}
};
```
Archived author: Deleted User • Posted: 2018-05-13T14:27:47.343000+00:00
Original source
xD
Archived author: ayase • Posted: 2018-05-13T14:28:29.144000+00:00
Original source
Ok. I learned