Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request !time
#1
Hi

guys i need a plugin to show !time such as B3 or MAM but i want the plugin check time location from sv_config.ini then if someone use !time plugin show Date and time for him.

[time]
Location=+0200 UTC
Reply

#2
Code:
using System;
...... blalbalba ........

if(Message == "!time")
{
iPrintLnBold(Client, string.Format("Current time: {0}", DateTime.Now.ToString()));
}

Or if client wants to know his timezone's time, you can use his Client.IP, then google 'GeoIP class c#' and download values from somewhere.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#3
or just tellclient or serversay .
Reply

#4
@OzonE are you know a way to convert date format to Persian??
Reply

#5
hmmm, i've tried this before. i cant remember but yes there is a way
you can search for it
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Information [Request] Need Time Plugin and Server Msg Plugin sylvester123 14 9,360 07-26-2013, 08:07
Last Post: sylvester123
  4D1 Extend Feeding Time Tacticalicious 1 2,587 07-02-2013, 20:59
Last Post: surtek
Tongue What are you doing in free time? Nekochan 16 8,862 05-05-2013, 08:25
Last Post: Pozzuh
  "one time we lived" Stocker 0 1,777 12-22-2012, 17:34
Last Post: Stocker
Brick [Request] iPrintLn Automatic time XxBRxX 13 7,439 12-20-2012, 08:46
Last Post: 99IRock
  [News] What time is it? Not gonna buy o'clock! SuperNovaAO 34 16,464 10-30-2012, 23:59
Last Post: SuperNovaAO
Big Grin Preview The time i spend on my pc can1907 16 7,487 10-28-2012, 20:27
Last Post: OrangePL
  Call of Duty reaches a new all-time low by launching 'Noobtube' JariZ 7 5,607 07-19-2012, 23:10
Last Post: JariZ
  [Request] Killstreak delay time Dumas 2 2,713 04-18-2012, 23:18
Last Post: Dumas
  Time Camelot 3 2,560 03-20-2012, 08:52
Last Post: JariZ

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.