Alright so basically im trying to create that popup message that pops up and ask you if you want to join the pk tourny well.....
How im going about doing this(only for testing purposes) is im going to make it on a timer and create a command for it.
Well im working on this right here
Now you see thats all fine and dandy but i honestly dont think it will work
for one reason because there are no controls so..... even if i wanted to i couldnt make "yes" do anything
I was just wandering am i going about this the wrong way?
Should this be an actual npc?
Any help would be apprecaitive and kinda fast cause im on the edge of going bald (pulling my hairout)
*NOTE* i know this is not the full timer because i wanted to fix this issue before i finished it.
How im going about doing this(only for testing purposes) is im going to make it on a timer and create a command for it.
Well im working on this right here
Code:
public static void PopupMessageTimer_Elapsed(object sender, ElapsedEventArgs e)
{
new Thread(new ThreadStart(
delegate()
{
Thread.Sleep(30000);
NewestCOServer.Packets.PopUpMessage(2005,"Would You like to join the pk event");
NewestCOServer.Packets.NPCLink("Yes",1);
NewestCOServer.Packets.NPCLink("No",255);
}
}
for one reason because there are no controls so..... even if i wanted to i couldnt make "yes" do anything
I was just wandering am i going about this the wrong way?
Should this be an actual npc?
Any help would be apprecaitive and kinda fast cause im on the edge of going bald (pulling my hairout)
*NOTE* i know this is not the full timer because i wanted to fix this issue before i finished it.