Very nice +rep if I can
Very nice +rep if I can
Former News Team Member
There we go.+4Rep to Mager and +1Rep to Eradicator. (Even though it wasn't that hard of a fix, rofl)
Edit: Nevermind, need to spread for both of you. >;P
Okay i was doing this the hard way for some reason so i editted it
Lunar Gaming - Reaching For The Stars
Btw at the method of setting your faction to the GUID;
Your faction id is a uint32, so if your player has like a really high GUID it'll crash.(not a big chance if your running a small server, but if you have alot of playersthen yeah...)
I found a better way Clain =D
Lunar Gaming - Reaching For The Stars
I see(filler)
I am a bit of a nobhead on these things, i like this, but have no clue how to add it :O
This looks very nice.
Any idea why this isn't working? Just stay normal PvP flagged.. I'm stumped =/
Code:#include "StdAfx.h" #include "Setup.h" void FFAPvP(Player * plr) { if (plr->GetMapId() == 30) { plr->SetFlag(PLAYER_FLAGS, PLAYER_FLAG_FREE_FOR_ALL_PVP); } } void SetupFFAPvP(ScriptMgr * mgr) { mgr->register_hook(SERVER_HOOK_EVENT_ON_ZONE, (void*)FFAPvP); }
Last edited by Stabatha; 10-02-2009 at 07:36 AM.
GoblinCity.net - Home of the only Cataclysm Twink Server
Instant Level 49 * Custom Gear * Scripted Raids * Tons More
We are the oldest private twink server community - Open since 2007
This is not to bump old posts but how do I make it work exactly?
Which cpp file should I include it in?