Menu

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.

Show posts Menu

Messages - Omniscient

#1
Nothing Working :(
 I think the reinstallation of OS is the last solution to this problem.
#2
Same Error as shown in POST #1. :'(
But I think I should reinstall my OS.
#3
Nice work bro. Keep it Up!
#5
Quote from: habi on Feb 21, 2022, 10:56 PMHello Omnicient,
Go to the website vc-mp.org
Click on Download (alternate)
VCMP04_Installer.zip will be downloaded.
Then extract the file and then install it. You will be able to install it smoothly.

If the installation is successful, do not forget to change the updater url to http://u04.vc-mp.org

Unable to Download :(
#6
Support / Error While Installing VCMP 0.4
Feb 21, 2022, 04:10 PM
Whenever I install VCMP 0.4 setup i face this error



When I click "Ok" they show this one:

#7
Support / Re: libpng16.dll failed to load
Dec 25, 2020, 01:15 PM
Quote from: Sebastian on Dec 25, 2020, 11:40 AMCan you tell us what Windows version do you have,  and if it is 32bit or 64bit?

Also,  check this:
Quote from: AdTec_224 on Dec 25, 2020, 12:17 AMlibpng16.dll is included with the client update (as seen here) so either something/someone deleted it or it may require the Visual Studio redistributable to be installed, located here.


Thanks!! Problem Solved.
#8
Support / libpng16.dll failed to load
Dec 25, 2020, 11:26 AM
Hello,
                     I am having an error during joining any server  " libpng16.dll missing or failed to load by VCMP " .   But it is not missing I have checked it. I reinstalled game after removing all the components of VC-MP but same error appear. Then i downloaded libpng16.dll from a site and pasted there but still showing this error.

https://i.imgur.com/bpbVMqn.png

  Please tell me fixes of this problem.
#9
Hello, I am working on a script.I was creating a setwep command.I have created the following command.Whenever i run the command i simply get successful message while i don't receive any weapon.
Here is the code.

  else if ( cmd == "setwep" )
     {
            if( !status[player.ID].LoggedIn ) MessagePlayer(" "+red+"You need to login first.", player);
       else  if ( status[player.ID].Level < 2 ) MessagePlayer(" "+dark+"You can not use this command.", player );
      else if ( !text ) MessagePlayer(""+red+" [ERROR] "+yellow+" /" + cmd + " <player> <wep>", player );
  else{
    local params = split(text, " " );
        local plr = FindPlayer(params[0]);
        local wep = GetWeaponID( params[1] );
        local ammo = params[2];
    plr.SetWeapon( wep, ammo );
Message(""+acmd+"Administrator "+player.Name+" has given "+plr.Name+" wep "+wep+" ammo: "+ammo+" ");
  }
     }


Also in another similar command facing  error.

   else if ( cmd == "buywep" )
   {
   if ( !text ) MessagePlayer(""+red+"Error: "+white+"Please use /buywep <wepname / id > <ammo>.",player);
       else
   {
      local params = split(text, " ")
      local wep = GetWeaponID( params[0] )
     local ammo = params[1]                                       //Error Here of Index 1
     local q = QuerySQL ( WEP, "SELECT * FROM PremiumWeps WHERE WepID='"+ wep +"' " );   // it also shows here wrong number of parameters
  local cost = GetSQLColumnData( q, 2 ); 
if ( !params[0] )  MessagePlayer(""+red+"Error: "+white+"Please use /buywep <wepname / id > <ammo>.",player);
        else if ( !params[1] ) MessagePlayer(""+red+"Error: "+white+"Please use /buywep <wepname / id > <ammo>.",player);
      else  if ( status[player.ID].Cash < cost ) MessagePlayer(""+red+"Error:"+white+"You don't have enough cash to buy this weapon. Cost: "+cost+"",player);
  else if ( !GetSQLColumnData( q, 0 ) ) MessagePlayer(""+red+"Error:"+white+"Invalid Weapon ID or Name.",player);
  else{

  player.SetWeapon(wep, ammo);
  player.Cash -= cost;
  }
   }
   }

This command is showing the error " index 1 does not exist.I don't know why this is showing error in local params while i used similar method during the insert of weapons price in database and is working well.
Another question is that what can be used for detecting missing arguments.
i tried both but is not working.
if ( !params[0] ) MessagePlayer(".......
or
if ( params < 1 ) MessagePlayer("........