Synth
Exalted Member
Hello Emudevs,well as title say i want to add Auto Revive code to this script,i want this code teleport players when she die,but everyone will go to place horde will go to zone,and same for alliance but when they revived and teleported i want it to get full hp+full mana.
You can check this script here:
OutdoorPvPBT - C++ - Pastebin
I think the code should be there for horde:
Thank you!
Best regards,
Synth!
You can check this script here:
OutdoorPvPBT - C++ - Pastebin
I think the code should be there for horde:
and here for alliance:itr->second->GetPlayer()->MonsterTextEmote("[Borean Tundra Defense]: Alliance has 0 resources! Horde wins!",
itr->second->GetPlayer()->GetGUID());
HandleWinMessage("Horde Wins!");
HandleRewards(itr->second->GetPlayer(), 1500, true, false, false);
switch(itr->second->GetPlayer()->GetTeam())
{
Can anyone tell me the code for autorevive + get teleported to X,Y,Z,O + and get full mana + hp here?itr->second->GetPlayer()->MonsterTextEmote("[Borean Tundra Defense]: Horde has 0 resources! Alliance wins!",
itr->second->GetPlayer()->GetGUID());
HandleWinMessage("Alliance Wins!");
HandleRewards(itr->second->GetPlayer(), 1500, true, false, false);
switch(itr->second->GetPlayer()->GetTeam())
{
Thank you!
Best regards,
Synth!