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 - W3aPoN^
1
Clans and Families / XF - XtremeFighterZ
« on March 13th, 2018, 02:28 AM »
=======
|New Clan|
=======
Owner/Founder - me
Leader - Coming Soon!
Co-Leader - Coming Soon!
Member - Coming Soon!
Forum - No Need!  8)

2
Map Showroom / Re: Mosque/Temple/Church
« on October 8th, 2017, 09:04 AM »
Thanks Mahmoud Brother :)
3
Script and Content Requests / [Request] Re: Mosque/Temple/Church --- Custom Maps
« on October 8th, 2017, 09:03 AM »
Quote from zeus on October 1st, 2017, 05:22 PM
So you mean we can add a Mosques/Temples/Church in a DM server and then allow players to fight here are you mad or out of mind.Wrost idea ever even for a RP server.
Man we can disable killing in Temples/Churchs/Mosques Like Anti-Bank Killing Use Some Brain
4
Script and Content Requests / [Request] Mosque/Temple/Church --- Custom Maps
« on October 1st, 2017, 05:12 PM »
I Think We Should have Some Mosques/Temples/Church In VC-MP Mahmoud is Great in Custom Mapping i am Asking You Mahmoud Please Make Some Maps of Mosques, Temples or Church This Would be Great All Textures should be Real I Know this is Hard but this is a Great Idea This Should Locate at Near Light Tower (Ocean Sea) i am waiting for Legends to reply
5
Script and Content Requests / Re: Custom Tags in OnPlayerChat
« on August 18th, 2017, 06:53 AM »
Yeah Use Xmairs Code or Get an Idea From DNUS Script
6
Script and Content Requests / a Simple word Game
« on August 17th, 2017, 10:33 AM »
i need a script in which server sends random msgs and player has to type the letters in 20 secs if players type all letters in less then 20 secs he will be rewarded with random cash
example:
===================================
The first who type "aKhutgaJ" in 20 secs will be rewarded with 2500$

The first who type "jsuHcsysk" in 20 secs will be rewarded with 10000$
===================================
The server sends msgs after every 60 seconds and player has to type all characters in 20 secs Thats all.
7
Videos & Screenshots / [Video] Re: Slide reimplemented!
« on July 18th, 2017, 04:27 PM »
Awesome @EK.IceFlake
8
Script and Content Requests / Disable Stats Padding
« on March 17th, 2017, 09:20 AM »
hello guys can any one give me script for disabling stats padding in server i am using DNUS server thanks in advance!
=THE END=
9
Scripting and Server Management / Re: Mini-games in server
« on December 25th, 2016, 03:25 PM »
LoL Sorry Brother and Thanks For Informing Me
10
Off-Topic General / Re: Merry xmas VC:MP forum
« on December 25th, 2016, 12:56 PM »
Nice Picture Brother :D
11
Script and Content Requests / Re: Need Help For A/D Server
« on December 13th, 2016, 03:13 PM »
New Error Appears :(
http://imgur.com/a/lBslU
12
Script and Content Requests / Re: Need Help For A/D Server
« on December 13th, 2016, 01:14 PM »

See The Code Brother its Not Working :(

===========================================================================
===========================================================================
function LoadBases()
{
  local i = 0;
  while (i < 35)
  {
    local q = QuerySQL( db, "SELECT cp,def,att,name FROM Bases WHERE ID=" + i );
    Bases = BaseClass();
    local p = i.tostring();
    Bases.CP = GetSQLColumnData(q,0);
    Bases.DefenseSpawn = GetSQLColumnData(q,1);
    Bases.AttackSpawn = GetSQLColumnData(q,2);
    Bases.Name = GetSQLColumnData(q,3);
    i++;
  }
}
//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
function LoadPickups()
{
  local i = 0;
  while (i < 35)
  {
    local x = (GetTok( Bases.CP, ",", 1)).tofloat(),
        y = (GetTok( Bases.CP, ",", 2)).tofloat(),
          z = (GetTok( Bases.CP, ",", 3)).tofloat();
    CreatePickup(382, Vector(x, y, z));
    i++;
  }
}
//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
function StartRound(base2)
{
local
 iMarker = CreateMarker( ... );
  base2 = base2.tointeger();
  CurrentBase = base2;
  RoundActive = true;
  MinRemain = 10;
  SecRemain = 0;
  local i = 0, p = GetPlayers();
  local attx = (GetTok(Bases[base2].AttackSpawn, ",", 1)).tofloat(), atty = (GetTok(Bases[base2].AttackSpawn, ",", 2)).tofloat(), attz = (GetTok(Bases

[base2].AttackSpawn, ",", 3)).tofloat();
  local defx = (GetTok(Bases[base2].DefenseSpawn, ",", 1)).tofloat(), defy = (GetTok(Bases[base2].DefenseSpawn, ",", 2)).tofloat(), defz = (GetTok(Bases

[base2].DefenseSpawn, ",", 3)).tofloat();
  while (i <= p)
  {
    local plr = FindPlayer(i);
    if (plr)
    {
      if ((plr.IsSpawned) && (pinfo.Side != "Ref"))
      {
        GiveWeapons(plr, 0);
        plr.Health = 100;
        plr.Armour = 100;
        plr.IsFrozen = true;
        pinfo[plr.ID].InSetChoice = true;
        local num = RandNum(1,5);
        if (pinfo.Side == "Att")
        {
          AttackerCount++;
          plr.Pos = Vector( attx + num, atty + num, attz);
          PrivMessage(plr,"Attacking base: " + Bases[base2].Name);

        }
        else if (pinfo.Side == "Def")
        {
          DefenderCount++;
          plr.Pos = Vector( defx + num, defy + num, defz);
          PrivMessage(plr,"Defending base: " + Bases[base2].Name);

        }
        ClientMessage("-> [#7fffd4]You have been added to the round, do /set to choose a set. Default set = 0", plr, 255,0,102);
        ClientMessage("-> [#7fffd4]Do /setlist to see the setlist.", plr, 255,0,102);
        pinfo.InRound = true;
      }

    }
    i++;
  }
  commencetimer <- NewTimer("Commence", 10000, 1);
  CurrentCP.x = (GetTok(Bases[base2].CP, ",", 1)).tofloat();
  CurrentCP.y = (GetTok(Bases[base2].CP, ",", 2)).tofloat();
  CurrentCP.z = (GetTok(Bases[base2].CP, ",", 3)).tofloat();
  ClientMessageToAll("-> [#ccff00]Base Started: " + Bases[base2].Name, 255,0,102);
  UpdateTimer.Start();
}
//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
function RoundUpdate()
{
  AttHp = 0;
  DefHp = 0;
  if (RoundActive == false)
  {
    UpdateTimer.Stop();
    local i = 0, p = GetPlayers();
    while (i <= p)
    {
      local plr = FindPlayer(i);
      if (plr)
      {
        if (plr.IsSpawned) Announce("~b~Swat ~x~VS ~r~Terrorists", plr, 3);
      }
      i++;
    }
    return;
  }
  if (Paused == true) return;
  SecRemain--;
  if(SecRemain < 0)
    {
        SecRemain = 59;
      MinRemain--;
      if(MinRemain < 0)
      {
      ClientMessageToAll("-> Base time exceeded",255,0,102);
        EndRound(1);
        return;
      }
    }
  if(PlayerInCP != -1)
    {
        if(IsPlayerInCP(PlayerInCP) == true)
        {
      CPCount--;
      if(CPCount == 0)
      {
          EndRound(3);
        CPCount = 20;
          return;
         }
      }
      else
      {
      PlayerInCP = -1;
      CPCount = 20;
      }
    }

  local i = 0, p = GetPlayers(), aalive = 0, dalive = 0;
  while (i <= p)
  {
    local plr = FindPlayer(i);
    if (plr)
    {
      if (pinfo.InRound)
      {
        if (pinfo.Side == "Att")
        {
          aalive++;
          AttHp += plr.Health;
          AttHp += plr.Armour;
          plr.Score = (plr.Health + plr.Armour);
          if (PlayerInCP == -1)
          {
            if (IsPlayerInCP(i))
            {
              PlayerInCP = i;
            }
          }

        }
        else if (pinfo.Side == "Def")
        {
          dalive++;
          DefHp += plr.Health;
          DefHp += plr.Armour;
          plr.Score = (plr.Health + plr.Armour);

        }
      }
    }
    i++;
  }

  local y = 0, h = GetPlayers();
  while (y <= h)
  {
    local plr = FindPlayer(y);
    if (plr)
    {
      if (plr.IsSpawned)
      {
        if (PlayerInCP == -1)
        {
          if (SecRemain > 9)
          {
            Announce("~b~" + MinRemain + ":" + SecRemain, plr, 5);
          }
          else Announce("~b~" + MinRemain + ":0" + SecRemain, plr, 5);
        }
        else Announce("~y~ " + CPCount, plr, 5);
      }
    }
    y++;
  }
  if ((aalive < 1) || dalive < 1) Debug();
}
//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
function EndRound(reason)
{
  try{
  PlayerInCP = -1;
  RoundActive = false;
  CurrentBase = -1;
  MinRemain = 10;
  SecRemain = 0;
  RespawnVehicles;
  AnnounceAll( "\x10 \x10",5 );
  local i = 0, p = GetPlayers(), mScore = 0, mName;
  while (i <=p)
  {
    local plr = FindPlayer(i);
    if (plr)
    {
      pinfo.WepSet = 0;
      if (pinfo.InRound == true) plr.Pos = Vector(-1754.2418 + RandNum(1,5),-155.7444 + RandNum(1,5),14.8683);
      if (pinfo.RKills > mScore) { mScore = pinfo.RKills; mName = plr.Name; }
      pinfo.RKills = 0;
      if ((AutoSwap) && (reason != 4))
      {
        if (pinfo.Side == "Att") pinfo.Side = "Def";
        else if (pinfo.Side == "Def") pinfo.Side = "Att";
      }
      plr.Health = 100;
      plr.Armour = 100;
      plr.Disarm();
    }
    i++;
  }
  if (reason == 1)
  {
    if (Swap){ AnnounceAll("~b~Defenders Win.", 3); BlueScore++; }
    else { AnnounceAll("~r~Attackers Win.", 3); RedScore++; }
  }
  else if (reason == 2)
  {
    if (Swap) {  AnnounceAll("~r~Attackers Win.", 3); RedScore++; }
    else { AnnounceAll("~b~Defenders Win.", 3); BlueScore++; }
  }
  else if (reason == 3)
  {
    if (Swap) {  AnnounceAll("~b~Defenders Took The Checkpoint.", 3); BlueScore++; }
    else { AnnounceAll("~r~Attackers Took The Checkpoint.", 3); RedScore++; }
  }
  else if (reason == 4) return;

  if (mName) ClientMessageToAll("-> [#ffffff]Top Scorer: " + mName + " (" + mScore + ")", 255,0,102);
  if (AutoSwap)
  {
    ClientMessageToAll("-> [#ffff00]Teams Have Swapped.", 255,0,102);
    if (Swap) { Swap = false; ClientMessageToAll("-> [#ffff00]Terrorists Are Now Attacking.", 255,0,102); }
    else { Swap = true; ClientMessageToAll("-> [#ffff00]Terrorists are Now Defending.", 255,0,102); }
  }
  ClientMessageToAll("-> [#ffffff]Current Score - [#ff0000]Terrorists: " + RedScore + " [#0080ff]Swat: " + BlueScore, 255,0,102);
  BlueSetLim = [0,0,0,0,0,0,0];
  RedSetLim = [0,0,0,0,0,0,0];
  }catch(e) print("Endround error: " + e);
DestroyMarker( iMarker );
}
13
Script and Content Requests / Re: Need Help For A/D Server
« on December 13th, 2016, 11:34 AM »
Not Working i Already Tried
14
Script and Content Requests / Re: Need Help For A/D Server
« on December 13th, 2016, 11:23 AM »
I am Stucked Server is Ready and I Bought The Server at $300PKr And The Script is Working Now Just This Little Marker Problem is Appeared
15
Script and Content Requests / Need Help For A/D Server
« on December 13th, 2016, 10:47 AM »
How to Make marker at Defense base in A/D Server i already tried this
     CreateMarker(player.UniqueWorld, Vector( -1734, -715, 5.8680 ), 5, RGB(0, 0, 0), 26 );
but when base changes all markers appears i only want that spouse base 1 is started then marker only appear at base 1's defense position is base 2 start then marker appears at base 2's defenders position hope understand :P thankuu inn advance i know i am IDIOT, Stupid :D