Quote from: Williams on Jan 26, 2016, 12:51 PMGood luck :p
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Williams on Jan 26, 2016, 12:51 PMGood luck :p
UniqueID
dose not exist please any can tell me what is bug?...help me plzzQuerySQL( db, "CREATE TABLE IF NOT EXISTS Ban ( Name VARCHAR(32), IP VARCHAR(25), MacID TEXT(50), Admin TEXT, Reason TEXT, Date TEXT, Type TEXT )" );
function Ban( player, admin, reason )
{
local now = date();
local type = "Mac-Banned";
QuerySQL( db, "INSERT INTO Ban ( Name, IP, Mac, Admin, Reason, Date, Type) VALUES ( '" + player + "', '" + player.IP + "', '" + player.UniqueID + "', '" + admin + "', '" + reason + "', '" + now.day + "/" + now.month + "/" + now.year + " " + now.hour + ":" + now.min + ":" + now.sec + "', '" + type + "')" );
Message(RED+ "--> Admin [ "+ admin +" ] Banned Player:[ " + player + " ] Reason:[ " + reason + " ]" );
EchoMessage(ICOL_RED+ICOL_BOLD+">> [Banned] Player:[ " + player + " ] Reason:[ " + reason + " ]" );
KickPla,yer( player );
}