Jump to content

[REQUEST] Give an aura to a player ?!


Guest balacas

Recommended Posts

I have an error with :

Player *pPlayer = m_session->GetPlayer();

if(!pPlayer->isInCombat())

{

caster->CastSpell(caster,64886, false);

pPlayer->TeleportTo(1, -8501.848633, 2022.142334, 104.750320, 3.531070);

return true;

}

Error : identifier "caster" is undefined

Erreur : the left of '-> CastSpell' must point to a type class / struct / union / generic

And if I did it:

Player *pPlayer = m_session->GetPlayer();

if(!pPlayer->isInCombat())

{

pPlayer->CastSpell(caster,64886, false);

pPlayer->TeleportTo(1, -8501.848633, 2022.142334, 104.750320, 3.531070);

return true;

}

Error : Error : identifier "caster" is undefined

I do not know what to do ...

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use