DarkflameServer/dScripts/PrWhistle.cpp
EmosewaMC 37de00464e M-Z scripts
Removing extraneous includes from scripts that start with the letter M-Z
2022-06-23 01:26:44 -07:00

18 lines
432 B
C++

#include "PrWhistle.h"
#include "Character.h"
#include "Entity.h"
void PrWhistle::OnFireEventServerSide(Entity *self, Entity *sender, std::string args, int32_t param1, int32_t param2,
int32_t param3)
{
if (args == "unlockEmote")
{
auto* character = sender->GetCharacter();
if (character != nullptr)
{
character->UnlockEmote(115);
}
}
}