Disable/Allow PKing Question

06/15/2009 23:04 ~RapidBlade~#1
Hey guys, im trying to perfect a PK event, but one thing i cant figure out is how to disable pking until i use a command, or a timer or something allows pking so players dont just pk randomly wen ppl come into the event. Please help.

~Rapid
06/15/2009 23:45 kinshi88#2
Code:
if (Map == PKMAP && CanPkBool == false)
     return;
Then make CanPkBool equal true to pk =P
06/16/2009 00:44 ~RapidBlade~#3
could u explain how to use that tho?
06/16/2009 01:02 CIRASH#4
Okay im trying to do this and atm i have

Code:
case "canpk":
                            {
                                if (Map == PKMAP && CSocket.Client.CanPkBool == false)
                                    return;
                                {
But Map and PKMap are giving me errors. ima try to fix this
06/16/2009 02:12 ~RapidBlade~#5
im actually using a lotf source though lol