Keld
Initiate
Hi all, I'd like to create a timing to insert a delay in a player command.
Stupid example:
Like for doubleclick on items "you have to wait x time to use it again". Is it possible? If yes, any help is appreciated. Thanks
Stupid example:
C#:
private static void All_OnCommand(CommandEventArgs e)
{
//INSERT DELAY CHECK TO BE ABLE TO BROADCAST AGAIN AFTER X SECONDS
BroadcastMessage(AccessLevel.Player, 48, String.Format("[BC] {0}: "+ e.ArgString, e.Mobile.Name));
}
private static void BroadcastMessage(AccessLevel ac, int hue, string message)
{
World.Broadcast(hue, false, ac, message);
}
Like for doubleclick on items "you have to wait x time to use it again". Is it possible? If yes, any help is appreciated. Thanks
Last edited: