Show Posts

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.

Messages - Anik
1
Off-Topic General / Checking out after a long time
« on December 14th, 2019, 11:26 PM »
It's been almost 3 years, I left vc-mp. Just surfing out the forum, seems like the devs are ded. The links to download server update also doesn't work.
So looking for some pieces of information, are they planning to update it?
alternate link to download the updates?
and what's up with everyone, what you guys are doing nowadays!
2
Client Scripting / [Remake] Re: Anik's Developer Panel
« on July 7th, 2019, 06:47 PM »
What kind of bugs it had?
3
Support / Re: Gui read the data base ?
« on December 29th, 2018, 06:30 AM »
Send data to server.
Process the data.
Read the database in server.
Send the data to client you read from database.

Just a quick example for you:
In client side
Code: [Select]
local st = Stream( );
st.WriteInt( 1 );
Server.SendData( st );

Now In server side:

Code: [Select]
function onClientScriptData( player )
{
local Int = Stream.ReadInt( );
if (Int == 1)
{
 // Do the database query
 // Then send that back  to client
}
}

Now again in client side
check the stream and you got the data of your database.
4
Script Showroom / [ Gamemode ] Re: MHC | ManHunt City Server
« on March 6th, 2018, 11:01 AM »
Full of retards.
Leave scripting, stick to play. Better leave vc-mp.
5
Script Showroom / [ Gamemode ] MHC | ManHunt City Server
« on December 11th, 2017, 03:30 PM »
As I have left vcmp. I am releasing the script I was working on. Its still in beta version. Many works to do. I am releasing it so that you guys can continue the work.

The script comes with a lot of features. You can check it by turning the server on.

You need GeoIP, MySQL, Squirrel, Sockets and some others plugin maybe.


Get the script from here:


You are not allowed to post any of the code as your snippet without my permission.
6
Snippet Showroom / Re: Some Teleports
« on September 17th, 2017, 05:28 PM »
Quote from Mahmoud Tornado on September 17th, 2017, 04:00 PM
Quote from Sebastian on September 17th, 2017, 12:28 AM
Somebody please move such posts to the right board...
that was old xDDDDDDDDDDDDDDDDDDDDDDD
Braindonour
7
Scripting and Server Management / Re: Divide the main.nut file
« on September 17th, 2017, 09:54 AM »
why not
8
Support / Re: Vehicles ID's
« on September 6th, 2017, 04:19 PM »
Execute this on "Execute SQL" on the DB Browser.
Code: [Select]
UPDATE Vehicles SET ID = rowid
9
Servers / [0.4] Re: Grand Theft Auto Crime City
« on September 2nd, 2017, 04:23 PM »
Quote from Zone_Killer on September 1st, 2017, 09:12 AM
Quote from FAW[K]EY[E] on August 31st, 2017, 10:38 AM
Nope Broh I am Owner Of Server
Maqsood shaikh i mean the real owner of dnus is [KoF]Killer.
Nah.. Its @Drake
10
Off-Topic General / [Attention] Re: Leaked passwords since 2013
« on July 30th, 2017, 06:31 AM »
Better, you remove the screenshot. Its not a hard task to find that page
11
Scripting and Server Management / Re: Invalid String Type Error!
« on July 14th, 2017, 05:48 PM »
Try it.

Code: [Select]
function AccInfo(player)
{
 local q = QuerySQL(DB, "SELECT * FROM Accounts WHERE Name = '" + escapeSQLString(player.Name) + "'");
 if (q)
 {
  status[player.ID].Password = GetSQLColumnData(q, 2);
  status[player.ID].Level = GetSQLColumnData(q, 3);
  status[player.ID].UID = GetSQLColumnData(q, 5);
  status[player.ID].IP = GetSQLColumnData(q, 6);
  status[player.ID].AutoLogin = GetSQLColumnData(q, 7);
  status[player.ID].Registered = true;
  if ((player.UID == status[player.ID].UID) || (player.IP == status[player.ID].IP))
  {
   if (status[player.ID].AutoLogin == "true")
   {
    MessagePlayer("[#CCFF66]** Welcome back to the server.", player);
    MessagePlayer("[#CCFF66]** You've been auto logged in, to disable this, type /autologin [ Toggles automatically ]", player);
    status[player.ID].LoggedIn = true;
 local c = QuerySQL(DB, "SELECT Clan FROM Accounts WHERE Name = '"+player.Name+"' " ), Clan = GetSQLColumnData( c, 0 );

 local w = QuerySQL( Clans, "SELECT * FROM ClanMembersRequest WHERE Player LIKE '" + player.Name + "' COLLATE NOCASE" );
 if (w)
  {
  status[ player.ID ].ClanRequest = true;
  status[ player.ID ].ClaneTag = GetSQLColumnData( w, 1 );
  status[ player.ID ].Clane = GetSQLColumnData( w, 2 );
  status[ player.ID ].ClaneState = GetSQLColumnData( w, 3 );
  MessagePlayer( "[CLAN-Request] Clan [ " + status[ player.ID ].Clane + " ].Use /acceptclan or /rejectclan.",player);
  }
 FreeSQLQuery( w );
 
 if ( Clan != "None" )
  {
  local r = QuerySQL( Clans, "SELECT Tag FROM ClanStats WHERE Clan LIKE '"+Clan+"'" );
  if (r)
   {
   local
    Tag = GetSQLColumnData( r, 0 ),
    t = QuerySQL( Clans, "SELECT * FROM ClanMembers WHERE Clan LIKE '"+Clan+"'" ),
    Owner = GetSQLColumnData( t, 1 ),
    Leader1 = GetSQLColumnData( t, 2 ),
    Leader2 = GetSQLColumnData( t, 3 ),
    Leader3 = GetSQLColumnData( t, 4 ),
    Users = GetSQLColumnData( t, 5 );
   if ( Owner == player.Name )
    {
    status[ player.ID ].Clan = Clan;
    status[ player.ID ].ClanTag = Tag;
    status[ player.ID ].ClanState = "Owner";
    }
   if ( Leader1 == player.Name )
    {
    status[ player.ID ].Clan = Clan;
    status[ player.ID ].ClanTag = Tag;
    status[ player.ID ].ClanState = "Leader1";
    }
   if ( Leader2 == player.Name )
    {
    status[ player.ID ].Clan = Clan;
    status[ player.ID ].ClanTag = Tag;
    status[ player.ID ].ClanState = "Leader2";
    }
   if ( Leader3 == player.Name )
    {
    status[ player.ID ].Clan = Clan;
    status[ player.ID ].ClanTag = Tag;
    status[ player.ID ].ClanState = "Leader3";
    }
   if ( Users.find( player.Name ) )
    {
    status[ player.ID ].Clan = Clan;
    status[ player.ID ].ClanTag = Tag;
    status[ player.ID ].ClanState = "Users";
    }
   FreeSQLQuery(t);
   }
  FreeSQLQuery(r);
  }
 
 CheckPlayerClan( player );
FreeSQLQuery( c );
   }
   else
   {
    MessagePlayer("[#CCFF66]** Welcome back to the server.", player);
    MessagePlayer("[#CCFF66]** Your nick is registered. Please login in order to access services.", player);
   }
  }
  else
  {
   MessagePlayer("[#CCFF66]** Welcome back to the server.", player);
   MessagePlayer("[#CCFF66]** Your nick is registered. Please login in order to access services.", player);
  }
 }
 else
 {
  MessagePlayer("[#CCFF66]** Welcome to the server.", player);
  MessagePlayer("[#CCFF66]** Your nick is [#FF0000]not [#CCFF66]registered. Please register in order to access services.", player);
 }
 FreeSQLQuery(q);
}
12
Scripting and Server Management / [Help] Re: How to get any key?
« on July 8th, 2017, 07:23 AM »
FFS stop posting in wrong boards.
13
Script Showroom / [Release] Re: Anik's GUI Editor
« on July 4th, 2017, 06:11 PM »
Quote from longhackmc on July 4th, 2017, 04:05 PM
and Element list, where it?
Uhh!! Watch the video. By the way, you can use /elements in game to get a list of all elements.
14
Script Showroom / [Release] Re: Anik's GUI Editor
« on July 4th, 2017, 02:49 PM »
Quote from longhackmc on July 4th, 2017, 01:59 PM
How to use / addchild
Give me an example
tks
Watch the video
15
Support / Re: How to disable logs in serverlogs folder?
« on June 30th, 2017, 07:55 AM »
Quote from Xmair on June 30th, 2017, 07:19 AM
No. Why'd you want to do that?
Maybe, he is running out of space.